aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-04-19 13:10:16 +0200
committerGravatar attilamolnar2013-08-04 19:03:35 +0200
commit8a4744f8db277bdfbcb4b9d44e3cf57f233c9dd6 (patch)
tree04576c2c2f4842b4cbc621c143f91940ac15e03d /src/users.cpp
parentMerge pull request #599 from SaberUK/master+configure-tests (diff)
downloadinspircd++-8a4744f8db277bdfbcb4b9d44e3cf57f233c9dd6.tar.gz
inspircd++-8a4744f8db277bdfbcb4b9d44e3cf57f233c9dd6.tar.bz2
inspircd++-8a4744f8db277bdfbcb4b9d44e3cf57f233c9dd6.zip
FakeUsers are only inserted into UserManager::uuidlist; don't try to erase() them from clientlist
Diffstat (limited to 'src/users.cpp')
-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();
}