mirror of
https://github.com/anope/anope.git
synced 2026-07-09 08:43:14 +02:00
Fixed OSOpersOnly & CSOpersOnly
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user