Mercurial > pidgin
comparison src/protocols/oscar/oscar.c @ 8437:990314a962fb
[gaim-migrate @ 9167]
Small patch from evands to let you add @mac.com screen names to your
buddy lists again. I think I broke this after 0.75 was released.
Also add a check to make sure you're signing on with a valid
screen name, but leave it commented out because it would break
the string freeze.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 12 Mar 2004 22:57:29 +0000 |
parents | 87bd4d4ff499 |
children | d9cf0c2f4339 |
comparison
equal
deleted
inserted
replaced
8436:4bb3d8dc717e | 8437:990314a962fb |
---|---|
696 GaimConnection *gc = gaim_account_get_connection(account); | 696 GaimConnection *gc = gaim_account_get_connection(account); |
697 OscarData *od = gc->proto_data = g_new0(OscarData, 1); | 697 OscarData *od = gc->proto_data = g_new0(OscarData, 1); |
698 | 698 |
699 gaim_debug(GAIM_DEBUG_MISC, "oscar", "oscar_login: gc = %p\n", gc); | 699 gaim_debug(GAIM_DEBUG_MISC, "oscar", "oscar_login: gc = %p\n", gc); |
700 | 700 |
701 #if 0 | |
702 if (!aim_snvalid(gaim_account_get_username(account))) { | |
703 gchar *buf; | |
704 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); | |
705 gaim_connection_error(gc, buf); | |
706 g_free(buf); | |
707 } | |
708 #endif | |
709 | |
701 if (isdigit(*(gaim_account_get_username(account)))) { | 710 if (isdigit(*(gaim_account_get_username(account)))) { |
702 od->icq = TRUE; | 711 od->icq = TRUE; |
703 } else { | 712 } else { |
704 gc->flags |= GAIM_CONNECTION_HTML; | 713 gc->flags |= GAIM_CONNECTION_HTML; |
705 gc->flags |= GAIM_CONNECTION_AUTO_RESP; | 714 gc->flags |= GAIM_CONNECTION_AUTO_RESP; |