+ Extensions.Register(&NICKForced);
+ Extensions.Register(&OperQuit);
+
+ FailedPortList pl;
+ int do_version = 0, do_nofork = 0, do_debug = 0,
+ do_nolog = 0, do_root = 0, do_testsuite = 0; /* flag variables */
+ int c = 0;
+
+ // Initialize so that if we exit before proper initialization they're not deleted
+ this->Logs = 0;
+ this->Threads = 0;
+ this->PI = 0;
+ this->Users = 0;
+ this->chanlist = 0;
+ this->Config = 0;
+ this->SNO = 0;
+ this->BanCache = 0;
+ this->Modules = 0;
+ this->stats = 0;
+ this->Timers = 0;
+ this->Parser = 0;
+ this->XLines = 0;
+ this->Modes = 0;
+ this->Res = 0;
+ this->ConfigThread = NULL;
+
+ UpdateTime();
+ this->startup_time = TIME.tv_sec;
+
+ // This must be created first, so other parts of Insp can use it while starting up
+ this->Logs = new LogManager;
+
+ SE = CreateSocketEngine();
+
+ this->Threads = new ThreadEngine;
+
+ /* Default implementation does nothing */
+ this->PI = new ProtocolInterface;