X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Finspircd.cpp;h=7efbaa54f02a3c078a7f4cf543c9ff593a647d23;hb=1b7c615062a7b203c7fc3ce4c56e16eb671f7c15;hp=dd111f9ba062f6af1f8b38311dbc285930b2dda7;hpb=3382adb9e9a79748b4db09bb41a296861800fa2d;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/inspircd.cpp b/src/inspircd.cpp index dd111f9ba..7efbaa54f 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -30,16 +30,8 @@ #include "inspircd.h" #include "configreader.h" #include -#include -#include #include -#include -#include -#include -#include #include -#include -#include #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)