summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-01-11 20:16:23 +0100
committerBerke Viktor <berkeviktor@aol.com>2012-01-11 20:16:23 +0100
commit9eae6db37feb2a66bf44d351e805e451d309f42a (patch)
tree133e21a1799bbddd7cf98b0c404fc27e2f9963c3 /plugins
parentcf761e9871897328c2754b54492144bd6e419c51 (diff)
X-SASL cosmetics
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xsasl/xsasl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/xsasl/xsasl.c b/plugins/xsasl/xsasl.c
index c902c7b6..e6840ad1 100644
--- a/plugins/xsasl/xsasl.c
+++ b/plugins/xsasl/xsasl.c
@@ -40,7 +40,7 @@
 #include "xchat-plugin.h"
 
 static xchat_plugin *ph;   /* plugin handle */
-static const char name[] = "XSASL";
+static const char name[] = "X-SASL";
 static const char desc[] = "SASL authentication plugin for XChat";
 static const char version[] = "1.0";
 
@@ -104,7 +104,7 @@ authend_cb (char *word[], char *word_eol[], void *userdata)
 {
 	if (get_info ())
 	{
-		xchat_printf (ph, "XSASL result: %s\n", word_eol[1]);
+		xchat_printf (ph, "%s\t %s\n", name, word_eol[1]);
 		xchat_commandf (ph, "QUOTE CAP END");
 	}
 
@@ -137,7 +137,7 @@ server_cb (char *word[], char *word_eol[], void *userdata)
 			return XCHAT_EAT_NONE;
 		}
 
-		xchat_printf (ph, "XSASL authenticating as %s\n", p->login);
+		xchat_printf (ph, "%s\tAuthenticating as %s\n", name, p->login);
 
 		len = strlen (p->login) * 2 + 2 + strlen (p->password);
 		buf = (char*) malloc (len + 1);
@@ -164,7 +164,7 @@ cap_cb (char *word[], char *word_eol[], void *userdata)
 	if (get_info ())
 	{
 		/* FIXME test sasl cap */
-		xchat_printf (ph, "XSASL info: %s\n", word_eol[1]);
+		xchat_printf (ph, "%s\t %s\n", name, word_eol[1]);
 		xchat_commandf (ph, "QUOTE AUTHENTICATE PLAIN");
 	}
 
@@ -185,7 +185,7 @@ sasl_cmd_cb (char *word[], char *word_eol[], void *userdata)
 	}
 
 	add_info (login, password, network);
-	xchat_printf (ph, "Enabled SASL authentication for the \"%s\" network\n", network);
+	xchat_printf (ph, "%s\tEnabled SASL authentication for the \"%s\" network\n", name, network);
 
 	return XCHAT_EAT_ALL;
 }
@@ -195,7 +195,7 @@ connect_cb (char *word[], void *userdata)
 {
 	if (get_info ())
 	{
-		xchat_printf (ph, "XSASL enabled\n");
+		xchat_printf (ph, "%s\tSASL enabled\n", name);
 		xchat_commandf (ph, "QUOTE CAP REQ :sasl");
 	}