Do an XP_TE_BANLIST only for ban, not exempt/invite/quiet

This commit is contained in:
Richard Hitt 2013-03-21 12:05:42 -07:00
parent f5631b2e22
commit ec576f315a
1 changed files with 1 additions and 1 deletions

View File

@ -1294,7 +1294,7 @@ inbound_banlist (session *sess, time_t stamp, char *chan, char *mask, char *bann
{ {
nowindow: nowindow:
/* let proto-irc.c do the 'goto def' for exemptions */ /* let proto-irc.c do the 'goto def' for exemptions */
if (rplcode == 348) /* RPL_EXCEPTLIST */ if (rplcode != 367) /* RPL_EXCEPTLIST */
return FALSE; 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);