]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_exemptchanops.cpp
Mark +P mode as oper-only now that it no longer requires an explicit permission string
[user/henk/code/inspircd.git] / src / modules / m_exemptchanops.cpp
index 9e6b735ed2caef39d6e67e8655b57a38e72a70e0..0b5acdd10f91914e66c1c03cabbd1c54165ab1da 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
@@ -73,12 +73,11 @@ class ModuleExemptChanOps : public Module
                ServerInstance->Modules->Attach(eventlist, this, 4);
 
                OnRehash(NULL);
-               ServerInstance->Modules->PublishInterface("ChannelBanList", this);
        }
 
        virtual Version GetVersion()
        {
-               return Version("Provides the ability to allow channel operators to be exempt from certain modes.",VF_VENDOR|VF_COMMON);
+               return Version("Provides the ability to allow channel operators to be exempt from certain modes.",VF_VENDOR);
        }
 
        virtual void OnRehash(User* user)
@@ -120,11 +119,6 @@ class ModuleExemptChanOps : public Module
 
                return MOD_RES_PASSTHRU;
        }
-
-       virtual ~ModuleExemptChanOps()
-       {
-               ServerInstance->Modules->UnpublishInterface("ChannelBanList", this);
-       }
 };
 
 MODULE_INIT(ModuleExemptChanOps)