X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodules.h;h=8354f34b41e432cf309a0d22aa259feba3cdee80;hb=8528562075a54dbb8fc40d100e55e6a8af8067c4;hp=abc783ca9e5e7e1dd6ffd0701e6d0414bb5a95c5;hpb=ce4dc653ce9acbb9b278b355e3b2f88998b26ac9;p=user%2Fhenk%2Fcode%2Finspircd.git 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);