]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
Auto loading of commands as shared objects via dlsym (very lightweight interface...
[user/henk/code/inspircd.git] / src / inspircd.cpp
index dd111f9ba062f6af1f8b38311dbc285930b2dda7..7efbaa54f02a3c078a7f4cf543c9ff593a647d23 100644 (file)
 #include "inspircd.h"
 #include "configreader.h"
 #include <signal.h>
-#include <time.h>
-#include <string>
 #include <exception>
-#include <stdexcept>
-#include <new>
-#include <map>
-#include <sstream>
 #include <fstream>
-#include <vector>
-#include <deque>
 #include "modules.h"
 #include "mode.h"
 #include "xline.h"
@@ -183,8 +175,8 @@ InspIRCd::InspIRCd(int argc, char** argv)
        factory.resize(255);
        
        this->Config = new ServerConfig(this);
+       this->SNO = new SnomaskManager(this);
        this->Start();
-       this->module_sockets.clear();
        this->TIME = this->OLDTIME = this->startup_time = time(NULL);
        srand(this->TIME);
        this->Log(DEBUG,"*** InspIRCd starting up!");
@@ -671,8 +663,6 @@ void InspIRCd::DoOneIteration(bool process_module_sockets)
                        irc::whowas::MaintainWhoWas(TIME);
                }
                Timers->TickTimers(TIME);
-               if (process_module_sockets)
-                       this->DoSocketTimeouts(TIME);
                this->DoBackgroundUserStuff(TIME);
 
                if ((TIME % 5) == 0)