]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_uhnames.cpp
Move message parsing to ProcessBuffer and fix edge cases in it.
[user/henk/code/inspircd.git] / src / modules / m_uhnames.cpp
index ce9c517f49149dbb3c81ac135561f8ce4b4e8d2e..a8814b343cab8271b581372f3682e6e7aad1822d 100644 (file)
@@ -41,7 +41,7 @@ class ModuleUHNames : public Module
                tokens["UHNAMES"];
        }
 
-       ModResult OnPreCommand(std::string &command, std::vector<std::string> &parameters, LocalUser *user, bool validated, const std::string &original_line) CXX11_OVERRIDE
+       ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated) CXX11_OVERRIDE
        {
                /* We don't actually create a proper command handler class for PROTOCTL,
                 * because other modules might want to have PROTOCTL hooks too.