]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/snomasks.h
Remove InspIRCd* parameters and fields
[user/henk/code/inspircd.git] / include / snomasks.h
index e1af1a1099c998484d780e7a2cd657e0b35478dd..dddde1ff9095339ce74d46d0d7a6343d02b1fd67 100644 (file)
@@ -16,9 +16,6 @@
 
 class Snomask : public Extensible
 {
- private:
-       InspIRCd *ServerInstance;
-
  public:
        char MySnomask;
        std::string Description;
@@ -28,7 +25,7 @@ class Snomask : public Extensible
 
        /** Create a new Snomask
         */
-       Snomask(InspIRCd* Instance, char snomask, const std::string &description) : ServerInstance(Instance), MySnomask(snomask), Description(description), LastMessage(""), Count(0)
+       Snomask(char snomask, const std::string &description) : MySnomask(snomask), Description(description), LastMessage(""), Count(0)
        {
        }
 
@@ -49,13 +46,9 @@ typedef std::map<char, Snomask *> SnoList;
  * Modules and the core can enable and disable snomask characters. If they do,
  * then sending snomasks using these characters becomes possible.
  */
-class CoreExport SnomaskManager : public Extensible
+class CoreExport SnomaskManager
 {
  private:
-       /** Creator/owner
-        */
-       InspIRCd* ServerInstance;
-
        /** Currently active snomask list
         */
        SnoList SnoMasks;
@@ -66,7 +59,7 @@ class CoreExport SnomaskManager : public Extensible
  public:
        /** Create a new SnomaskManager
         */
-       SnomaskManager(InspIRCd* Instance);
+       SnomaskManager();
 
        /** Delete SnomaskManager
         */