]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_securelist.cpp
Allocate id properly
[user/henk/code/inspircd.git] / src / modules / m_securelist.cpp
index fab32c2b4727fd0e85a5c2d79f94bcb24d882dd1..97f84f5c7b98f2b765c9a82398e24d633a13d20f 100644 (file)
@@ -55,7 +55,7 @@ class ModuleSecureList : public Module
         * OnPreCommand()
         *   Intercept the LIST command.
         */ 
-       virtual int OnPreCommand(const std::string &command, char **parameters, int pcnt, userrec *user, bool validated)
+       virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, userrec *user, bool validated)
        {
                /* If the command doesnt appear to be valid, we dont want to mess with it. */
                if (!validated)