]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_securelist.cpp
Port bindings for gnutls now bind via ip:port, rather than on all ports for that...
[user/henk/code/inspircd.git] / src / modules / m_securelist.cpp
index 8ba9f9232b3226f9e157fb15ccc161d69b4ad1da..3974cf01703de373af833f35dea87dde89e663d9 100644 (file)
@@ -34,7 +34,7 @@ class ModuleSecureList : public Module
  
        virtual Version GetVersion()
        {
-               return Version(1,1,0,0,VF_VENDOR,API_VERSION);
+               return Version(1,2,0,0,VF_VENDOR,API_VERSION);
        }
 
        void OnRehash(User* user, const std::string &parameter)
@@ -72,8 +72,8 @@ class ModuleSecureList : public Module
                        /* Some crap clients (read: mIRC, various java chat applets) muck up if they don't
                         * receive these numerics whenever they send LIST, so give them an empty LIST to mull over.
                         */
-                       user->WriteServ("321 %s Channel :Users Name",user->nick);
-                       user->WriteServ("323 %s :End of channel list.",user->nick);
+                       user->WriteNumeric(321, "%s Channel :Users Name",user->nick);
+                       user->WriteNumeric(323, "%s :End of channel list.",user->nick);
                        return 1;
                }
                return 0;