From c979a8a8b7493538dde5b80936b298ad6b57c877 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Wed, 11 Jan 2012 21:35:02 +0100 Subject: some more xsasl cosmetics --- plugins/xsasl/xsasl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/xsasl/xsasl.c b/plugins/xsasl/xsasl.c index e6d6312f..f0521c47 100644 --- a/plugins/xsasl/xsasl.c +++ b/plugins/xsasl/xsasl.c @@ -104,7 +104,8 @@ authend_cb (char *word[], char *word_eol[], void *userdata) { if (get_info ()) { - xchat_printf (ph, "%s\t%s\n", name, word_eol[1]); + /* omit cryptic server message parts */ + xchat_printf (ph, "%s\t%s\n", name, ++word_eol[4]); xchat_commandf (ph, "QUOTE CAP END"); } @@ -164,7 +165,8 @@ cap_cb (char *word[], char *word_eol[], void *userdata) if (get_info ()) { /* FIXME test sasl cap */ - xchat_printf (ph, "%s\t%s\n", name, word_eol[1]); + /* this is visible in the rawlog in case someone needs it, otherwise it's just noise */ + /* xchat_printf (ph, "%s\t%s\n", name, word_eol[1]); */ xchat_commandf (ph, "QUOTE AUTHENTICATE PLAIN"); } -- cgit 1.4.1