summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-05-17 18:08:49 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-05-17 18:08:49 +0200
commitc715182bf86532d767c939a344bd4f304d25df09 (patch)
treeea75e36d26d3a1872e1727f2bffe724c3229fc23 /src/inspircd.cpp
parentb28782c4a3cd52587d61541bcca4e0b217685c54 (diff)
Move code that quits all users from InspIRCd::Cleanup() to cmd_die
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 5dfcca6d9..fce99f421 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -108,11 +108,6 @@ void InspIRCd::Cleanup()
}
ports.clear();
- /* Close all client sockets, or the new process inherits them */
- const UserManager::LocalList& list = Users.GetLocalUsers();
- while (!list.empty())
- Users->QuitUser(list.front(), "Server shutdown");
-
GlobalCulls.Apply();
Modules->UnloadAll();