From 21424154a83837ea2bd2eeee2b367f881fce2d88 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Thu, 25 Oct 2012 20:24:20 +0200 Subject: Hide "empty" SASL messages during auth --- src/common/proto-irc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common') 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); } -- cgit 1.4.1