aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar danieldg2010-01-30 16:36:47 +0000
committerGravatar danieldg2010-01-30 16:36:47 +0000
commit846e00a215026e4b3c0fefd6442e38f86a928e87 (patch)
treedf1a63afff8f6e2080be1618865dfc0e961c5094 /src/users.cpp
parentRemove users from uuidlist on QuitUser, not during cull (allows UID reuse on ... (diff)
Remove FakeUser from clientlist/uuidlist, as it bypasses QuitUser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12328 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index eea27f6f7..fcb470ed9 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -594,6 +594,8 @@ CullResult FakeUser::cull()
{
// Fake users don't quit, they just get culled.
quitting = true;
+ ServerInstance->Users->clientlist->erase(user->nick);
+ ServerInstance->Users->uuidlist->erase(user->uuid);
return User::cull();
}