]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
Small tidyup
[user/henk/code/inspircd.git] / src / inspircd.cpp
index 7eb52ebc8f0451f5c5dc115caf238f96965f0168..b7e8ff5ae73dad2e78badbfcd5534f0713a7b443 100644 (file)
@@ -308,7 +308,10 @@ InspIRCd::InspIRCd(int argc, char** argv)
        delete SEF;
 
        this->s_signal = 0;
-
+       
+       // Create base manager classes early, so nothing breaks
+       this->Users = new UserManager(this);
+       
        this->Users->unregistered_count = 0;
 
        this->Users->clientlist = new user_hash();
@@ -325,7 +328,6 @@ InspIRCd::InspIRCd(int argc, char** argv)
        this->Timers = new TimerManager(this);
        this->Parser = new CommandParser(this);
        this->XLines = new XLineManager(this);
-       this->Users = new UserManager(this);
 
        this->Config->argv = argv;
        this->Config->argc = argc;