X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Finspircd.cpp;h=403ba535502281b6672ec5c21d624a908cf13b36;hb=ce3ce6cd49e14f640a1cabfef9cf21a239dd961d;hp=cad322e3433dbb2859615cf04ec39583aa43c62b;hpb=024906dbcdfd1e48898167695712a6c9e0fc7e9a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/inspircd.cpp b/src/inspircd.cpp index cad322e34..403ba5355 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -109,8 +109,8 @@ void InspIRCd::Cleanup() ports.clear(); /* Close all client sockets, or the new process inherits them */ - LocalUserList& list = Users->local_users; - for (LocalUserList::iterator i = list.begin(); i != list.end(); ++i) + const UserManager::LocalList& list = Users.GetLocalUsers(); + for (UserManager::LocalList::const_iterator i = list.begin(); i != list.end(); ++i) Users->QuitUser(*i, "Server shutdown"); GlobalCulls.Apply();