]> 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 27015914733ad44d4a59740500081b6e6120cc55..1d3cd901290bdaf673e5b47989292c75e331c489 100644 (file)
@@ -19,7 +19,8 @@ class ModulePartMsgBan : public Module
 {
  private:
  public:
-       ModulePartMsgBan()      {
+       ModulePartMsgBan()
+       {
                Implementation eventlist[] = { I_OnUserPart, I_On005Numeric };
                ServerInstance->Modules->Attach(eventlist, this, 2);
        }
@@ -30,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);
        }