]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_commonchans.cpp
Fix memory leaks on reloadmodule and spanningtree unload while connecting servers
[user/henk/code/inspircd.git] / src / modules / m_commonchans.cpp
index 4cddb651e62d427bd79b690edcbc96297f442ca7..5d429f432c880c363642d5ac3f176392dd1ddf6b 100644 (file)
@@ -64,7 +64,7 @@ class ModulePrivacyMode : public Module
 
        virtual Version GetVersion()
        {
-               return Version("Adds user mode +c, which if set, users must be on a common channel with you to private message you", VF_COMMON|VF_VENDOR, API_VERSION);
+               return Version("Adds user mode +c, which if set, users must be on a common channel with you to private message you", VF_COMMON|VF_VENDOR);
        }
 
        virtual ModResult OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)