]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_securelist.cpp
Remove completed XXX: override is now only checked locally, snotices are automaticall...
[user/henk/code/inspircd.git] / src / modules / m_securelist.cpp
index a3ab509aaaba80d47f9867b46d7cd3c0d0897234..829a6514abf9028b250604a5696d17e2a3ef6561 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)
@@ -68,7 +68,7 @@ class ModuleSecureList : public Module
                                        return 0;
 
                        /* Not exempt, BOOK EM DANNO! */
-                       user->WriteServ("NOTICE %s :*** You cannot list within the first %d seconds of connecting. Please try again later.",user->nick, WaitTime);
+                       user->WriteServ("NOTICE %s :*** You cannot list within the first %lu seconds of connecting. Please try again later.",user->nick, (unsigned long) WaitTime);
                        /* 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.
                         */