src/protocols/oscar/oscar.c

changeset 8590
6f7b9c538d68
parent 8589
21b3d99bb8e7
child 8591
ae42ad1cd127
--- 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;

mercurial