]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/snomasks.h
Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that OnNumeric can...
[user/henk/code/inspircd.git] / include / snomasks.h
index 334bbf0dc447fed600b02ef46c06aa87429044bb..77bed517aa0ff788f2caee6eabbd8f9440e7f3cd 100644 (file)
 #ifndef __SNOMASKS_H__
 #define __SNOMASKS_H__
 
-#include <string>
-#include <vector>
-#include <map>
-#include "configreader.h"
-#include "inspircd.h"
-
 class Snomask
 {
  private:
@@ -33,11 +27,8 @@ class Snomask
 
        /** Create a new Snomask
         */
-       Snomask(InspIRCd* Instance, char snomask, const std::string &description)
+       Snomask(InspIRCd* Instance, char snomask, const std::string &description) : ServerInstance(Instance), MySnomask(snomask), Description(description), LastMessage(""), Count(0)
        {
-               ServerInstance = Instance;
-               MySnomask = snomask;
-               Description = description;
        }
 
        /** Sends a message to all opers with this snomask.