Mercurial > pidgin.yaz
diff src/protocols/zephyr/zephyr.c @ 4775:92ae181271e9
[gaim-migrate @ 5095]
This fixes a bug when adding a jabber dude to a new group, I think. I
dunno, it might fix some other stuff.
If Gaim were any less inanimate I would try to sleep with it so bad
it's not even funny.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 14 Mar 2003 17:06:00 +0000 |
parents | c4c28874ecd3 |
children | 1e28e7d802a1 |
line wrap: on
line diff
--- a/src/protocols/zephyr/zephyr.c Fri Mar 14 16:18:51 2003 +0000 +++ b/src/protocols/zephyr/zephyr.c Fri Mar 14 17:06:00 2003 +0000 @@ -573,8 +573,13 @@ { FILE *fd; gchar buff[BUFSIZ], *filename; - struct group *g = gaim_group_new("Anyone"); + struct group *g; struct buddy *b; + + if (!(g = gaim_find_group(_("Anyone")))) { + g = gaim_group_new(_("Anyone")); + gaim_blist_add_group(g, NULL); + } filename = g_strconcat(gaim_home_dir(), "/.anyone", NULL); if ((fd = fopen(filename, "r")) != NULL) {