From 6b1f323bb519009048a94c8bb3d003288a339345 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 28 Dec 2012 15:59:33 -0500 Subject: Move some of CheckKick to the respective modules --- include/modules.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index eba0138b8..cc5bb4b07 100644 --- a/include/modules.h +++ b/include/modules.h @@ -642,9 +642,11 @@ class CoreExport Module : public Extensible * @param u The user * @param ci The channel * @param kick Set to true to kick - * @return EVENT_ALLOW to stop processing immediatly + * @param mask The mask to ban, if any + * @param reason The reason for the kick + * @return EVENT_STOP to prevent the user from joining by kicking/banning the user */ - virtual EventReturn OnCheckKick(User *u, ChannelInfo *ci, bool &kick) { return EVENT_CONTINUE; } + virtual EventReturn OnCheckKick(User *u, ChannelInfo *ci, Anope::string &mask, Anope::string &reason) { return EVENT_CONTINUE; } /** Called when a user requests info for a channel * @param source The user requesting info -- cgit