summaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-30 17:12:08 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-30 17:12:08 +0000
commit4a64082e31c3c3dfa97a1edfb8a3c97fe8d32ea7 (patch)
treeabe1f2293fae907540a1feb609b4b2a5888616af /src/usermanager.cpp
parent5fd6471070ecf0f9a0074714c57211e922257014 (diff)
Move destruction logic for User and Spanningtree into cull()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11783 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r--src/usermanager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp
index b355bc890..023e2aa5a 100644
--- a/src/usermanager.cpp
+++ b/src/usermanager.cpp
@@ -195,7 +195,6 @@ void UserManager::QuitUser(User *user, const std::string &quitreason, const char
if (user->registered == REG_ALL)
{
FOREACH_MOD(I_OnUserQuit,OnUserQuit(user, reason, oper_reason));
- user->PurgeEmptyChannels();
user->WriteCommonQuit(reason, oper_reason);
}