# HG changeset patch # User Nathan Walp # Date 1063213645 0 # Node ID fce1bb126900b2a00495d3cd337cf0b91eadabec # Parent ff477c28df7bbf8cc1441489cde25fe833f4755f [gaim-migrate @ 7348] this is more betterer committer: Tailor Script diff -r ff477c28df7b -r fce1bb126900 src/protocols/jabber/jabber.c --- a/src/protocols/jabber/jabber.c Wed Sep 10 16:46:40 2003 +0000 +++ b/src/protocols/jabber/jabber.c Wed Sep 10 17:07:25 2003 +0000 @@ -1914,15 +1914,15 @@ if ((b = gaim_find_buddy(GJ_GC(gjc)->account, buddyname)) == NULL) { GaimGroup *g; b = gaim_buddy_new(GJ_GC(gjc)->account, buddyname, name); - if (groupname) { - if (!(g = gaim_find_group(groupname))) { - g = gaim_group_new(groupname); - gaim_blist_add_group(g, NULL); - } - } else { - g = gaim_group_new(_("Buddies")); + + if(!groupname) + groupname = _("Buddies"); + + if (!(g = gaim_find_group(groupname))) { + g = gaim_group_new(groupname); gaim_blist_add_group(g, NULL); } + gaim_debug(GAIM_DEBUG_INFO, "jabber", "adding buddy [4]: %s\n", buddyname); gaim_blist_add_buddy(b, NULL, g, NULL);