mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
fix crash
This commit is contained in:
1 parent
f0ca473f6a
commit
b8b47b429e
1 file changed
+3
-1
@@ -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