diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-25 20:24:20 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-25 20:24:20 +0200 |
commit | 21424154a83837ea2bd2eeee2b367f881fce2d88 (patch) | |
tree | a501dddac246ec90857fa26aec0761a1ab3d0894 /src/common | |
parent | bd6e39ffa9328c61acb659f8d21772fb371e1d46 (diff) |
Hide "empty" SASL messages during auth
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/proto-irc.c | 4 |
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); } |