From 8a4744f8db277bdfbcb4b9d44e3cf57f233c9dd6 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Fri, 19 Apr 2013 13:10:16 +0200 Subject: [PATCH] FakeUsers are only inserted into UserManager::uuidlist; don't try to erase() them from clientlist --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.5