summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-19 13:10:16 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-04 19:03:35 +0200
commit8a4744f8db277bdfbcb4b9d44e3cf57f233c9dd6 (patch)
tree04576c2c2f4842b4cbc621c143f91940ac15e03d /src
parentf449ae9ddefaaf45f282b5b7aa1e8b53e7efa7b1 (diff)
FakeUsers are only inserted into UserManager::uuidlist; don't try to erase() them from clientlist
Diffstat (limited to 'src')
-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();
}