Parcourir la source

* Use the channel ban-type for +k/kickban/misc bans in channels

Bryan Drewery il y a 17 ans
Parent
commit
eaac52f924
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/mod/irc.mod/chan.c

+ 1 - 1
src/mod/irc.mod/chan.c

@@ -645,7 +645,7 @@ static char *quickban(struct chanset_t *chan, char *uhost)
 {
   static char s1[512] = "";
 
-  maskhost(uhost, s1);
+  maskaddr(uhost, s1, chan->ban_type);
   /* this used to only happen with strict_host == 0 */
   if (strlen(s1) != 1)
     s1[2] = '*';		/* arthur2 */