summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 131fdf29c..5a6159adc 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -791,7 +791,7 @@ bool ChannelInfo::CheckKick(User *user)
bool set_modes = false, do_kick = false;
EventReturn MOD_RESULT;
- FOREACH_MOD(I_OnCheckKick, OnCheckKick(user, this, do_kick));
+ FOREACH_RESULT(I_OnCheckKick, OnCheckKick(user, this, do_kick));
if (MOD_RESULT == EVENT_ALLOW)
return false;