Przeglądaj źródła

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

Bryan Drewery 17 lat temu
rodzic
commit
eaac52f924
1 zmienionych plików z 1 dodań i 1 usunięć
  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 */