From 983b4ace896704726d7be9d781068f81cf410b7b Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 3 Jun 2013 08:19:27 -0400 Subject: treat banlist event as a generic list event (for quiets etc) --- src/common/inbound.c | 3 --- src/common/textevents.in | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/inbound.c b/src/common/inbound.c index da2cb34c..b5842b3f 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -1367,9 +1367,6 @@ inbound_banlist (session *sess, time_t stamp, char *chan, char *mask, char *bann if (!fe_add_ban_list (sess, mask, banner, time_str, rplcode)) { nowindow: - /* let proto-irc.c do the 'goto def' for exemptions */ - if (rplcode != 367) /* RPL_EXCEPTLIST */ - return FALSE; EMIT_SIGNAL (XP_TE_BANLIST, sess, chan, mask, banner, time_str, 0); return TRUE; diff --git a/src/common/textevents.in b/src/common/textevents.in index c86af2bc..1f86d90b 100644 --- a/src/common/textevents.in +++ b/src/common/textevents.in @@ -7,7 +7,7 @@ pevt_generic_nick_help Ban List XP_TE_BANLIST pevt_banlist_help -%C22*%O$t%C22$1%O Banlist: %C18$2%O on %C24$4%O by %C26$3%O +%C22*%O$t%C22$1%O: %C18$2%O on %C24$4%O by %C26$3%O 4 Banned -- cgit 1.4.1