]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/snomasks.cpp
Tidy up strlens which are not required
[user/henk/code/inspircd.git] / src / snomasks.cpp
index e465b2ec80d063658edfc9ae0efef2fa048bed31..c67afcdc5da730a84dd74dd2e3a6bfa3c31a39fc 100644 (file)
  * ---------------------------------------------------
  */
 
-#include <string>
-#include <vector>
 #include <stdarg.h>
 #include "configreader.h"
 #include "users.h"
-#include "modules.h"
-#include "commands.h"
-#include "xline.h"
 #include "snomasks.h"
 
 SnomaskManager::SnomaskManager(InspIRCd* Instance) : ServerInstance(Instance)
@@ -98,10 +93,11 @@ void SnomaskManager::SetupDefaults()
        this->EnableSnomask('q',"QUIT");                /* Local quit notices */
        this->EnableSnomask('Q',"REMOTEQUIT");          /* Remote quit notices */
        this->EnableSnomask('k',"KILL");                /* Kill notices */
-       this->EnableSnomask('n',"NICK");                /* Nickchange notices */
        this->EnableSnomask('l',"LINK");                /* Link notices */
        this->EnableSnomask('o',"OPER");                /* Oper up/down notices */
        this->EnableSnomask('d',"DEBUG");               /* Debug notices */
        this->EnableSnomask('x',"XLINE");               /* Xline notice (g/z/q/k/e) */
+       this->EnableSnomask('t',"STATS");               /* Local or remote stats request */
+       this->EnableSnomask('f',"FLOOD");               /* Flooding notices */
 }