diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-05 00:23:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-05 00:23:03 +0000 |
commit | 8869f710e51a459ccf22a8b73a1c45d33237c973 (patch) | |
tree | e0bb1ca29c8bbec4af094cf64c450b4662ac0d46 /include | |
parent | 06dd2222762d754ee4aa8ecd12ecdfcece84a006 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |