From f277be0f2634cc97881918a0aaf1c0cb6ffad2d6 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 14 Jul 2011 21:40:21 -0400 Subject: Fixed OSOpersOnly & CSOpersOnly --- src/regchannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit