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_maphide.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_maphide.cpp') diff --git a/src/modules/m_maphide.cpp b/src/modules/m_maphide.cpp index 4a7e1da7f..299db381f 100644 --- a/src/modules/m_maphide.cpp +++ b/src/modules/m_maphide.cpp @@ -32,7 +32,7 @@ class ModuleMapHide : public Module url = MyConf.ReadValue("security", "maphide", 0); } - 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) { if (!IS_OPER(user) && !url.empty() && (command == "MAP" || command == "LINKS")) { -- cgit v1.2.3