Mercurial > pidgin
diff src/protocols/toc/toc.c @ 11643:eb14bbcf7249
[gaim-migrate @ 13920]
sf patch #1293063, from John Bailey
Move and rename some functions from server.c to the account API.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 12 Oct 2005 02:47:31 +0000 |
parents | 90be432e8385 |
children | fa742ad8068c |
line wrap: on
line diff
--- a/src/protocols/toc/toc.c Wed Oct 12 02:27:32 2005 +0000 +++ b/src/protocols/toc/toc.c Wed Oct 12 02:47:31 2005 +0000 @@ -642,7 +642,7 @@ if (account->gc) { if (buddies != NULL) { - serv_add_buddies(account->gc, buddies); + gaim_account_add_buddies(account, buddies); g_list_free(buddies); } serv_set_permit_deny(account->gc); @@ -741,7 +741,7 @@ buddy = gaim_buddy_new(account, username, NULL); /* XXX - Pick a group to add to */ /* gaim_blist_add(buddy, NULL, g, NULL); */ - serv_add_buddy(gc, buddy); + gaim_account_add_buddy(gc, buddy); /* Client sends TOC toc_init_done message */ gaim_debug(GAIM_DEBUG_INFO, "toc",