summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 0cd92faef..649a325c9 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -360,7 +360,7 @@ CullResult FakeUser::cull()
{
// Fake users don't quit, they just get culled.
quitting = true;
- ServerInstance->Users->clientlist->erase(nick);
+ // Fake users are not inserted into UserManager::clientlist, they're only in the uuidlist
ServerInstance->Users->uuidlist->erase(uuid);
return User::cull();
}