X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Finspircd.cpp;h=469539c5b3b525aaab2a8143f1868f293c13b0d7;hb=0b8a9b55667e767f93e93adc1aee9bc3c05f1888;hp=fec4aedeafb4110ad7ea5b3d27964ac3259be64e;hpb=bc8664c5c49f4ac9adbc5e3937a584e4a6b35614;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/inspircd.cpp b/src/inspircd.cpp index fec4aedea..469539c5b 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 */ - UserManager::LocalList& list = Users->local_users; - for (UserManager::LocalList::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(); @@ -229,7 +229,7 @@ InspIRCd::InspIRCd(int argc, char** argv) : * THIS MUST MATCH THE ORDER OF DECLARATION OF THE FUNCTORS, e.g. the methods * themselves within the class. */ - OperQuit("operquit", NULL), + OperQuit("operquit", ExtensionItem::EXT_USER, NULL), GenRandom(&HandleGenRandom), IsChannel(&HandleIsChannel), IsNick(&HandleIsNick),