libpurple/protocols/jabber/auth.c

changeset 17070
539b9296175f
parent 17050
a41a4e5820d0
child 17184
19aafbb84554
child 17270
a995cb90663a
--- a/libpurple/protocols/jabber/auth.c	Fri May 11 00:16:58 2007 +0000
+++ b/libpurple/protocols/jabber/auth.c	Fri May 11 00:33:05 2007 +0000
@@ -292,7 +292,7 @@
 				 */
 				} else if (!plaintext) {
 					char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection.  Allow this and continue authentication?"),
-							js->user->domain);
+							js->gc->account->username);
 					purple_request_yes_no(js->gc, _("Plaintext Authentication"),
 							_("Plaintext Authentication"),
 							msg,
@@ -481,7 +481,7 @@
 
 		if(js->gsc == NULL && !purple_account_get_bool(js->gc->account, "auth_plain_in_clear", FALSE)) {
 			char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection.  Allow this and continue authentication?"),
-					js->user->domain);
+					js->gc->account->username);
 			purple_request_yes_no(js->gc, _("Plaintext Authentication"),
 					_("Plaintext Authentication"),
 					msg,

mercurial