]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_restrictchans.cpp
Move _ext to replace the original, SVSSILENCE comes next
[user/henk/code/inspircd.git] / src / modules / m_restrictchans.cpp
index 58e935aeef5b5a7abc36e2a5120ee813dbe133b7..8543e97193167f88e0dcc64c8bd78d4d5ad79888 100644 (file)
@@ -60,7 +60,7 @@ class ModuleRestrictChans : public Module
                        // channel does not yet exist (record is null, about to be created IF we were to allow it)
                        if (!chan)
                        {
-                               user->WriteNumeric(530, "%s %s :Only IRC operators may create new channels",user->nick,cname,cname);
+                               user->WriteNumeric(530, "%s %s :Only IRC operators may create new channels",user->nick,cname);
                                return 1;
                        }
                }
@@ -73,7 +73,7 @@ class ModuleRestrictChans : 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);
        }
 };