# HG changeset patch # User Eric Warmenhoven # Date 1007669604 0 # Node ID f0633f458a1cf51e9e92a4352b776abeb6c00d3d # Parent 7a8fd0d5b9ed2302656dcad18707be97c53359aa [gaim-migrate @ 2866] don't go in the FUCKING window committer: Tailor Script diff -r 7a8fd0d5b9ed -r f0633f458a1c src/protocols/toc/toc.c --- a/src/protocols/toc/toc.c Thu Dec 06 05:52:04 2001 +0000 +++ b/src/protocols/toc/toc.c Thu Dec 06 20:13:24 2001 +0000 @@ -130,7 +130,6 @@ static void toc_login_callback(gpointer, gint, GaimInputCondition); static void toc_callback(gpointer, gint, GaimInputCondition); -static unsigned char *roast_password(char *); static void accept_file_dialog(struct ft_request *); /* ok. this function used to take username/password, and return 0 on success. @@ -514,6 +513,9 @@ } debug_printf("* Client sends TOC \"toc_signon\" message\n"); + /* i hate icq. */ + if (gc->username[0] >= '0' && gc->username[0] <= '9') + gc->password[9] = '\0'; g_snprintf(snd, sizeof snd, "toc_signon %s %d %s %s %s \"%s\"", AUTH_HOST, AUTH_PORT, normalize(gc->username), roast_password(gc->password), LANGUAGE, REVISION);