From: brain Date: Thu, 10 Apr 2008 20:53:13 +0000 (+0000) Subject: Comment small API change (returning -1 from OnCheckBan to explicitly deny the ban) X-Git-Tag: v2.0.23~3394 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=548883a392f7c6c3e0271f619374241404a2c6dc;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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);