]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_securelist.cpp
Fix all typos (not as fun as 'kill all humans' but meh, beggers cant be choosers)
[user/henk/code/inspircd.git] / src / modules / m_securelist.cpp
index 8885068babe4134ef721d4e8aa3045e54e846433..fab32c2b4727fd0e85a5c2d79f94bcb24d882dd1 100644 (file)
@@ -67,8 +67,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.
                         */
-                       WriteServ(u->fd,"321 %s Channel :Users Name",user->nick);
-                       WriteServ(u->fd,"323 %s :End of channel list.",user->nick);
+                       WriteServ(user->fd,"321 %s Channel :Users Name",user->nick);
+                       WriteServ(user->fd,"323 %s :End of channel list.",user->nick);
                        return 1;
                }
                return 0;
@@ -81,7 +81,7 @@ class ModuleSecureList : public Module
 
        virtual Priority Prioritize()
        {
-               return Srv->PriorityBefore("m_safelist.so");
+               return (Priority)Srv->PriorityBefore("m_safelist.so");
        }
 
 };