Mercurial > pidgin
changeset 11192:fd6232f9a418
[gaim-migrate @ 13310]
only add buddies from the right account
committer: Tailor Script <tailor@pidgin.im>
author | Thomas Butter <tbutter> |
---|---|
date | Fri, 05 Aug 2005 01:24:55 +0000 |
parents | d4c34046f942 |
children | e865bdbbf91d |
files | src/protocols/simple/simple.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/simple/simple.c Fri Aug 05 01:17:42 2005 +0000 +++ b/src/protocols/simple/simple.c Fri Aug 05 01:24:55 2005 +0000 @@ -198,7 +198,8 @@ if(!GAIM_BLIST_NODE_IS_CONTACT(cnode)) continue; for(bnode = cnode->child; bnode; bnode = bnode->next) { if(!GAIM_BLIST_NODE_IS_BUDDY(bnode)) continue; - simple_add_buddy(gc, (GaimBuddy*)bnode, (GaimGroup *)gnode); + if(((GaimBuddy*)bnode)->account == gc->account) + simple_add_buddy(gc, (GaimBuddy*)bnode, (GaimGroup *)gnode); } } }