]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nonotice.cpp
Remote /MAP (that now doesn't confuse clients ;p)
[user/henk/code/inspircd.git] / src / modules / m_nonotice.cpp
index 1e4cb828b653b0de389c5f8e7055ebbbdaa9a416..52ddb537dbe60958ea861514407bb143787a1fd7 100644 (file)
@@ -80,7 +80,7 @@ class ModuleNoNotice : public Module
                                }
                                else
                                {
-                                       user->WriteServ("404 %s %s :Can't send NOTICE to channel (+T set)",user->nick, c->name);
+                                       user->WriteNumeric(404, "%s %s :Can't send NOTICE to channel (+T set)",user->nick, c->name);
                                        return 1;
                                }
                        }
@@ -96,7 +96,7 @@ class ModuleNoNotice : 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);
        }
 };