Browse Source

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

Bryan Drewery 17 years ago
parent
commit
eaac52f924
1 changed files with 1 additions and 1 deletions
  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 */