Mercurial > pidgin
changeset 8151:b619ee745ec0
[gaim-migrate @ 8863]
If you try to add an ICQ user that requires auth, but you're too
chicken to request auth from them, then Gaim will remove the
dude from your local list. Chicken.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 20 Jan 2004 15:58:39 +0000 |
parents | 20262ccefdd8 |
children | 82aeed3c90f0 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Tue Jan 20 15:27:33 2004 +0000 +++ b/src/protocols/oscar/oscar.c Tue Jan 20 15:58:39 2004 +0000 @@ -4,10 +4,10 @@ * Some code copyright (C) 1998-1999, Mark Spencer <markster@marko.net> * Some code copyright (C) 1999-2001, Eric Warmenhoven * Some code copyright (C) 2001-2003, Sean Egan - * Some code copyright (C) 2001-2003, Mark Doliner <thekingant@users.sourceforge.net> + * Some code copyright (C) 2001-2004, Mark Doliner <thekingant@users.sourceforge.net> * * Most libfaim code copyright (C) 1998-2001 Adam Fritzler <afritz@auk.cx> - * Some libfaim code copyright (C) 2001-2003 Mark Doliner <thekingant@users.sourceforge.net> + * Some libfaim code copyright (C) 2001-2004 Mark Doliner <thekingant@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -2460,8 +2460,9 @@ GaimConnection *gc = data->gc; if (g_list_find(gaim_connections_get_all(), gc)) { - /* OscarData *od = gc->proto_data; */ - /* XXX - Take the buddy out of our buddy list */ + /* Remove from local list */ + GaimBuddy *b = gaim_find_buddy(gaim_connection_get_account(gc), data->name); + gaim_blist_remove_buddy(b); } oscar_free_name_data(data); @@ -5087,7 +5088,6 @@ buf = g_strdup_printf(_("Could not add the buddy %s for an unknown reason. The most common reason for this is that you have the maximum number of allowed buddies in your buddy list."), (retval->name ? retval->name : _("(no name)"))); gaim_notify_error(gc, NULL, _("Unable To Add"), buf); g_free(buf); - /* XXX - Should remove buddy from local list */ } break; }