From: brain Date: Sun, 5 Feb 2006 00:23:03 +0000 (+0000) Subject: Commented on new return value of OnUserPreKick for explicitly allowing kicks X-Git-Tag: v2.0.23~9000 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=8869f710e51a459ccf22a8b73a1c45d33237c973;p=user%2Fhenk%2Fcode%2Finspircd.git Commented on new return value of OnUserPreKick for explicitly allowing kicks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3087 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/include/modules.h b/include/modules.h index 6df44305d..2ba139e7e 100644 --- a/include/modules.h +++ b/include/modules.h @@ -462,7 +462,7 @@ class Module : public classbase * @param user The user being kicked * @param chan The channel the user is being kicked from * @param reason The kick reason - * @return 1 to prevent the kick, 0 to allow it + * @return 1 to prevent the kick, 0 to continue normally, -1 to explicitly allow the kick regardless of normal operation */ virtual int OnUserPreKick(userrec* source, userrec* user, chanrec* chan, std::string reason);