]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_namesx.cpp
PreCommand/PostCommand are local-only hooks
[user/henk/code/inspircd.git] / src / modules / m_namesx.cpp
index 2dcf5b3d6aacd4ddecabfc98e5dbff5696b26d23..ec117e095d8265886d9df9f42fcc6e7459804da7 100644 (file)
@@ -41,7 +41,7 @@ class ModuleNamesX : public Module
                output.append(" NAMESX");
        }
 
-       ModResult OnPreCommand(std::string &command, std::vector<std::string> &parameters, User *user, bool validated, const std::string &original_line)
+       ModResult OnPreCommand(std::string &command, std::vector<std::string> &parameters, LocalUser *user, bool validated, const std::string &original_line)
        {
                irc::string c = command.c_str();
                /* We don't actually create a proper command handler class for PROTOCTL,