From c715182bf86532d767c939a344bd4f304d25df09 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sun, 17 May 2015 18:08:49 +0200 Subject: Move code that quits all users from InspIRCd::Cleanup() to cmd_die --- src/inspircd.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/inspircd.cpp') 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(); -- cgit v1.2.3