Hide "empty" SASL messages during auth

This commit is contained in:
Berke Viktor 2012-10-25 20:24:20 +02:00
parent bd6e39ffa9
commit 21424154a8
1 changed files with 4 additions and 0 deletions

View File

@ -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); EMIT_SIGNAL (XP_TE_SERVNOTICE, sess, buf, sess->server->servername, NULL, NULL, 0);
return; return;
} }
if (!strncmp (buf, "AUTHENTICATE +", 14)) /* omit SASL "empty" responses */
{
return;
}
EMIT_SIGNAL (XP_TE_SERVTEXT, sess, buf, sess->server->servername, rawname, NULL, 0); EMIT_SIGNAL (XP_TE_SERVTEXT, sess, buf, sess->server->servername, rawname, NULL, 0);
} }