]> jfr.im git - solanum.git/blobdiff - modules/m_knock.c
Change default --with-nicklen to 31, like atheme-services.
[solanum.git] / modules / m_knock.c
index 4afe9df512e86fba759aaada78965f53d817800c..e85cce3987f8d2df5ebaa4379e00ef5c5a6eec63 100644 (file)
@@ -115,8 +115,8 @@ m_knock(struct Client *client_p, struct Client *source_p, int parc, const char *
        if(MyClient(source_p))
        {
                /* don't allow a knock if the user is banned */
-               if(is_banned(chptr, source_p, NULL, NULL, NULL) == CHFL_BAN ||
-                               is_quieted(chptr, source_p, NULL, NULL, NULL) == CHFL_BAN)
+               if(is_banned(chptr, source_p, NULL, NULL, NULL, NULL) == CHFL_BAN ||
+                       is_quieted(chptr, source_p, NULL, NULL, NULL) == CHFL_BAN)
                {
                        sendto_one_numeric(source_p, ERR_CANNOTSENDTOCHAN,
                                           form_str(ERR_CANNOTSENDTOCHAN), name);