treat banlist event as a generic list event (for quiets etc)

This commit is contained in:
TingPing 2013-06-03 08:19:27 -04:00
parent f0684dc74e
commit 983b4ace89
2 changed files with 1 additions and 4 deletions

View File

@ -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)) if (!fe_add_ban_list (sess, mask, banner, time_str, rplcode))
{ {
nowindow: 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); EMIT_SIGNAL (XP_TE_BANLIST, sess, chan, mask, banner, time_str, 0);
return TRUE; return TRUE;

View File

@ -7,7 +7,7 @@ pevt_generic_nick_help
Ban List Ban List
XP_TE_BANLIST XP_TE_BANLIST
pevt_banlist_help 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 4
Banned Banned