summaryrefslogtreecommitdiff
path: root/src/modules/m_operprefix.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-12 15:45:11 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-13 15:34:12 +0200
commit988d8218071b504521bd1da6c2275db877d857b9 (patch)
tree01950bad0bca756353aedd8894cd06852903b7cc /src/modules/m_operprefix.cpp
parentd71b6a8b273ae6efc823ffe79130e6a85b6a1534 (diff)
OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*
Diffstat (limited to 'src/modules/m_operprefix.cpp')
-rw-r--r--src/modules/m_operprefix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operprefix.cpp b/src/modules/m_operprefix.cpp
index 0df2ac6d8..2eeefb2b3 100644
--- a/src/modules/m_operprefix.cpp
+++ b/src/modules/m_operprefix.cpp
@@ -96,7 +96,7 @@ class ModuleOperPrefixMode : public Module
mw_added = ServerInstance->Modes->AddModeWatcher(&hideoperwatcher);
}
- ModResult OnUserPreJoin(User* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven)
+ ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven)
{
/* The user may have the +H umode on himself, but +H does not necessarily correspond
* to the +H of m_hideoper.