summary refs log tree commit diff stats
path: root/plugins/xsasl
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-01-11 21:35:02 +0100
committerBerke Viktor <berkeviktor@aol.com>2012-01-11 21:35:02 +0100
commitc979a8a8b7493538dde5b80936b298ad6b57c877 (patch)
treea6991a19a84f9499bdd319d57eb58b56e56896b3 /plugins/xsasl
parent064dafc76f125951dcf0886ad07beb1c2ff40985 (diff)
some more xsasl cosmetics
Diffstat (limited to 'plugins/xsasl')
-rw-r--r--plugins/xsasl/xsasl.c6
1 files changed, 4 insertions, 2 deletions
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");
 	}