From 9ee588b23fd915255d2cea0c537e6938297dbe5b Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 18 Jan 2010 17:35:55 +0000 Subject: PreCommand/PostCommand are local-only hooks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12291 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_uhnames.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_uhnames.cpp') diff --git a/src/modules/m_uhnames.cpp b/src/modules/m_uhnames.cpp index c1bdb684c..30508fab2 100644 --- a/src/modules/m_uhnames.cpp +++ b/src/modules/m_uhnames.cpp @@ -41,7 +41,7 @@ class ModuleUHNames : public Module output.append(" UHNAMES"); } - ModResult OnPreCommand(std::string &command, std::vector ¶meters, User *user, bool validated, const std::string &original_line) + ModResult OnPreCommand(std::string &command, std::vector ¶meters, 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, -- cgit v1.2.3