diff src/protocols/yahoo/yahoo.c @ 5921:6a84a1892e26

[gaim-migrate @ 6361] This will let everyone use Yahoo! again! Except for all y'all not using CVS. Which includes you, sucka! Yahoo's cool because they put punctuation in their name. I'd try being "Sean?" but that's too unassertive. 0.64 users can get onto Yahoo! by changing their screenname to all-lowercase. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 18 Jun 2003 14:02:16 +0000
parents 7d385de2f9cd
children 3014de25a8a4
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Wed Jun 18 06:01:15 2003 +0000
+++ b/src/protocols/yahoo/yahoo.c	Wed Jun 18 14:02:16 2003 +0000
@@ -730,7 +730,7 @@
 	if (seed) {
 		struct yahoo_packet *pack;
 		GaimAccount *account = gaim_connection_get_account(gc);
-		const char *name = gaim_account_get_username(account);
+		const char *name = normalize(gaim_account_get_username(account));
 		const char *pass = gaim_account_get_password(account);
 
 		/* So, Yahoo has stopped supporting its older clients in India, and undoubtedly
@@ -965,7 +965,7 @@
 
 	pkt = yahoo_packet_new(YAHOO_SERVICE_AUTH, YAHOO_STATUS_AVAILABLE, 0);
 
-	yahoo_packet_hash(pkt, 1, gaim_account_get_username(gaim_connection_get_account(gc)));
+	yahoo_packet_hash(pkt, 1, normalize(gaim_account_get_username(gaim_connection_get_account(gc))));
 	yahoo_send_packet(yd, pkt);
 
 	yahoo_packet_free(pkt);