summary refs log tree commit diff stats
path: root/src/common/proto-irc.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-25 20:24:20 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-25 20:24:20 +0200
commit21424154a83837ea2bd2eeee2b367f881fce2d88 (patch)
treea501dddac246ec90857fa26aec0761a1ab3d0894 /src/common/proto-irc.c
parentbd6e39ffa9328c61acb659f8d21772fb371e1d46 (diff)
Hide "empty" SASL messages during auth
Diffstat (limited to 'src/common/proto-irc.c')
-rw-r--r--src/common/proto-irc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index f6e7eccf..1b20d17c 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -1224,6 +1224,10 @@ process_named_servermsg (session *sess, char *buf, char *rawname, char *word_eol
 		EMIT_SIGNAL (XP_TE_SERVNOTICE, sess, buf, sess->server->servername, NULL, NULL, 0);
 		return;
 	}
+	if (!strncmp (buf, "AUTHENTICATE +", 14))	/* omit SASL "empty" responses */
+	{
+		return;
+	}
 
 	EMIT_SIGNAL (XP_TE_SERVTEXT, sess, buf, sess->server->servername, rawname, NULL, 0);
 }