diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-19 13:10:16 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-08-04 19:03:35 +0200 |
commit | 8a4744f8db277bdfbcb4b9d44e3cf57f233c9dd6 (patch) | |
tree | 04576c2c2f4842b4cbc621c143f91940ac15e03d | |
parent | f449ae9ddefaaf45f282b5b7aa1e8b53e7efa7b1 (diff) |
FakeUsers are only inserted into UserManager::uuidlist; don't try to erase() them from clientlist
-rw-r--r-- | src/users.cpp | 2 |
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(); } |