summary refs log tree commit diff stats
path: root/plugins/xsasl
diff options
context:
space:
mode:
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");
 	}