diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 7eb52ebc8..b7e8ff5ae 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -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; |