]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_restrictmsg.cpp
#define NO_CLIENT_LONG_LONG, makes mysql.h ANSI C++ compliant so that we can get...
[user/henk/code/inspircd.git] / src / modules / m_restrictmsg.cpp
index 24e9a92f65366c6dc31876513397d254ccd2ca46..fd885cd5814f05e2d08a43d9044b39e9435f86d8 100644 (file)
@@ -44,7 +44,7 @@ class ModuleRestrictMsg : public Module
                        {
                                return 0;
                        }
-                       user->WriteServ("531 %s %s :You are not permitted to send private messages to this user",user->nick,u->nick);
+                       user->WriteNumeric(531, "%s %s :You are not permitted to send private messages to this user",user->nick,u->nick);
                        return 1;
                }
 
@@ -63,7 +63,7 @@ class ModuleRestrictMsg : public Module
        
        virtual Version GetVersion()
        {
-               return Version(1,1,0,1,VF_VENDOR,API_VERSION);
+               return Version(1,2,0,1,VF_VENDOR,API_VERSION);
        }
 };