]> jfr.im git - irc/quakenet/newserv.git/blobdiff - helpmod2/hcommands.c
rework of build stage 2:
[irc/quakenet/newserv.git] / helpmod2 / hcommands.c
index 050bed425268b3f2055d54fdb3b31016e57ecfa1..0204e853ee01976804b76c72331926b1f6009286 100644 (file)
@@ -2300,7 +2300,7 @@ static void helpmod_cmd_invite (huser *sender, channel *returntype, char* arg, i
             return;
         }
 
-        if (nickbanned(sender->real_user, hchan->real_channel))
+        if (nickbanned(sender->real_user, hchan->real_channel, 0))
         {
             helpmod_reply(sender, returntype, "Cannot invite: You are banned from channel %s", argv[0]);
             return;