changeset 8590:de3d7eb3fc86

[gaim-migrate @ 9341] Hunkahunkaburninlove committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 06 Apr 2004 01:19:51 +0000
parents 72a0759a37a2
children f96795b786d2
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Tue Apr 06 01:06:45 2004 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Apr 06 01:19:51 2004 +0000
@@ -700,14 +700,12 @@
 
 	gaim_debug(GAIM_DEBUG_MISC, "oscar", "oscar_login: gc = %p\n", gc);
 
-#if 0
 	if (!aim_snvalid(gaim_account_get_username(account))) {
 		gchar *buf;
-		buf = g_strdup_printf(_("Unable to login: Could not sign on as %s because the screen name is invalid.  Screen names must either start with a letter and contain only letters, numbers and spaces, or contain only numbers."), name);
+		buf = g_strdup_printf(_("Unable to login: Could not sign on as %s because the screen name is invalid.  Screen names must either start with a letter and contain only letters, numbers and spaces, or contain only numbers."), gaim_account_get_username(account));
 		gaim_connection_error(gc, buf);
 		g_free(buf);
 	}
-#endif
 
 	if (isdigit(*(gaim_account_get_username(account)))) {
 		od->icq = TRUE;