summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/inbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index f9083eaf..bd882aea 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -1294,7 +1294,7 @@ inbound_banlist (session *sess, time_t stamp, char *chan, char *mask, char *bann
 	{
 nowindow:
 		/* let proto-irc.c do the 'goto def' for exemptions */
-		if (rplcode == 348)	/* RPL_EXCEPTLIST */
+		if (rplcode != 367)	/* RPL_EXCEPTLIST */
 			return FALSE;
 
 		EMIT_SIGNAL (XP_TE_BANLIST, sess, chan, mask, banner, time_str, 0);