Kaynağa Gözat

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

Bryan Drewery 17 yıl önce
ebeveyn
işleme
eaac52f924
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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 */