]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nopartmsg.cpp
Delete modewatchers when unloading modules that use them to keep the server from...
[user/henk/code/inspircd.git] / src / modules / m_nopartmsg.cpp
index 32500f06907653ab5c5ebb6261ba211dcce2b01d..1d3cd901290bdaf673e5b47989292c75e331c489 100644 (file)
@@ -19,7 +19,7 @@ class ModulePartMsgBan : public Module
 {
  private:
  public:
-       ModulePartMsgBan(InspIRCd* Me) : Module(Me)
+       ModulePartMsgBan()
        {
                Implementation eventlist[] = { I_OnUserPart, I_On005Numeric };
                ServerInstance->Modules->Attach(eventlist, this, 2);
@@ -31,7 +31,7 @@ class ModulePartMsgBan : public Module
 
        virtual Version GetVersion()
        {
-               return Version("Implements extban +b p: - part message bans", VF_COMMON|VF_VENDOR, API_VERSION);
+               return Version("Implements extban +b p: - part message bans", VF_COMMON|VF_VENDOR);
        }