]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_noctcp.cpp
Make User:: nick/ident/dhost/fullname and some other things std::string instead of...
[user/henk/code/inspircd.git] / src / modules / m_noctcp.cpp
index bb9fa4e8973beb1df9b3fae78193db40febfb215..fae1bb0eb264693dbf91b131fbdc37ca062de255 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "inspircd.h"
 
-/* $ModDesc: Provides support for unreal-style channel mode +c */
+/* $ModDesc: Provides support for unreal-style channel mode +C */
 
 class NoCTCP : public ModeHandler
 {
@@ -84,7 +84,7 @@ class ModuleNoCTCP : public Module
                                {
                                        if (strncmp(text.c_str(),"\1ACTION ",8))
                                        {
-                                               user->WriteServ("492 %s %s :Can't send CTCP to channel (+C set)",user->nick, c->name);
+                                               user->WriteNumeric(492, "%s %s :Can't send CTCP to channel (+C set)",user->nick, c->name);
                                                return 1;
                                        }
                                }
@@ -101,7 +101,7 @@ class ModuleNoCTCP : 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);
        }
 };