mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-06 20:15:19 +03:00
fix crash
This commit is contained in:
@@ -212,7 +212,9 @@ void MemberList::UpdateMemberListInternal() {
|
||||
|
||||
add_role("@everyone");
|
||||
for (const auto &id : roleless_users) {
|
||||
add_user(discord.GetUser(id));
|
||||
const auto *user = discord.GetUser(id);
|
||||
if (user != nullptr)
|
||||
add_user(user);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user