From 548883a392f7c6c3e0271f619374241404a2c6dc Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Apr 2008 20:53:13 +0000 Subject: Comment small API change (returning -1 from OnCheckBan to explicitly deny the ban) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9450 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index abc783ca9..8354f34b4 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1126,7 +1126,8 @@ class CoreExport Module : public Extensible * return 1 to explicitly allow the join to go ahead or 0 to ignore the event. * @param user The user joining the channel * @param chan The channel being joined - * @return 1 to explicitly allow the join, 0 to proceed as normal + * @return 1 to explicitly allow the join, 0 to proceed as normal. Return -1 to explicitly deny the + * join to the channel. */ virtual int OnCheckBan(User* user, Channel* chan); -- cgit v1.2.3