diff options
author | TingPing <tingping@tingping.se> | 2013-06-03 08:19:27 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-06-03 08:19:27 -0400 |
commit | 983b4ace896704726d7be9d781068f81cf410b7b (patch) | |
tree | 00d92a712e68806ad362f829c295869187ceb7a1 | |
parent | f0684dc74ec1b12ea008a34b5638c5fe8fef47c4 (diff) |
treat banlist event as a generic list event (for quiets etc)
-rw-r--r-- | src/common/inbound.c | 3 | ||||
-rw-r--r-- | src/common/textevents.in | 2 |
2 files changed, 1 insertions, 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 |