]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_censor.cpp
Remove m_silence: this is 1.2 only. m_silence_ext is a fully backwards compatible...
[user/henk/code/inspircd.git] / src / modules / m_censor.cpp
index 4eaf1e3b47406a4f982cd1ce9b44779c58e8cf5a..b4746d93660beeb2e6583c38b9f4a406cdaa82a8 100644 (file)
@@ -159,7 +159,7 @@ class ModuleCensor : public Module
                        {
                                if (index->second.empty())
                                {
-                                       user->WriteServ("936 %s %s %s :Your message contained a censored word, and was blocked", user->nick, ((Channel*)dest)->name, index->first.c_str());
+                                       user->WriteNumeric(936, "%s %s %s :Your message contained a censored word, and was blocked", user->nick, ((Channel*)dest)->name, index->first.c_str());
                                        return 1;
                                }
                                
@@ -196,7 +196,7 @@ class ModuleCensor : public Module
        
        virtual Version GetVersion()
        {
-               return Version(1,1,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+               return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
        }
        
 };