]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chancreate.cpp
Stop hiding users when a prefix is set on them, fixes apparent desyncs
[user/henk/code/inspircd.git] / src / modules / m_chancreate.cpp
index 66635304952bbecad151294567c621ec83fb6943..c4c28bc3021a75497d1f05f3082969a5fbe38a82 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -22,20 +22,13 @@ class ModuleChanCreate : public Module
        ModuleChanCreate()
                        {
                ServerInstance->SNO->EnableSnomask('j', "CHANCREATE");
-               ServerInstance->SNO->EnableSnomask('J', "REMOTECHANCREATE");
                Implementation eventlist[] = { I_OnUserJoin };
                ServerInstance->Modules->Attach(eventlist, this, 1);
        }
 
-       ~ModuleChanCreate()
-       {
-               ServerInstance->SNO->DisableSnomask('j');
-               ServerInstance->SNO->DisableSnomask('J');
-       }
-
        Version GetVersion()
        {
-               return Version("Creates a snomask with notices whenever a new channel is created",VF_VENDOR,API_VERSION);
+               return Version("Creates a snomask with notices whenever a new channel is created",VF_VENDOR);
        }