]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Comment small API change (returning -1 from OnCheckBan to explicitly deny the ban)
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 10 Apr 2008 20:53:13 +0000 (20:53 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 10 Apr 2008 20:53:13 +0000 (20:53 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9450 e03df62e-2008-0410-955e-edbf42e46eb7

include/modules.h

index abc783ca9e5e7e1dd6ffd0701e6d0414bb5a95c5..8354f34b41e432cf309a0d22aa259feba3cdee80 100644 (file)
@@ -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);