aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-07-28 14:50:28 +0200
committerGravatar Attila Molnar2014-07-28 14:50:28 +0200
commit662364f8551b3db2a3cbc0000f2d3eec091d8e07 (patch)
treedf695d96c895b245b867d0c75676394b7a428b20 /src/users.cpp
parentm_spanningtree Throw a ProtocolException if a server SQUITs a server it shoul... (diff)
downloadinspircd++-662364f8551b3db2a3cbc0000f2d3eec091d8e07.tar.gz
inspircd++-662364f8551b3db2a3cbc0000f2d3eec091d8e07.tar.bz2
inspircd++-662364f8551b3db2a3cbc0000f2d3eec091d8e07.zip
Allow fast sid reuse by erasing fake users from UserManager::uuidlist when the netsplit is handled, not in cull()
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 8d22d166c..aed969c7b 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -340,7 +340,7 @@ CullResult FakeUser::cull()
// Fake users don't quit, they just get culled.
quitting = true;
// Fake users are not inserted into UserManager::clientlist, they're only in the uuidlist
- ServerInstance->Users->uuidlist.erase(uuid);
+ // and they are removed from there by the linking mod when the server splits
return User::cull();
}