summaryrefslogtreecommitdiff
path: root/src/modules/m_nonicks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r--src/modules/m_nonicks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index 3e378d59f..1109ff61f 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -86,7 +86,7 @@ class ModuleNoNickChange : public Module
Channel* curr = *i;
ModResult res;
- FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (curr->GetUser(user),curr,"nonick"));
+ FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,curr,"nonick"));
if (res == MOD_RES_ALLOW)
continue;