Mercurial > pidgin
diff src/protocols/oscar/oscar.c @ 4303:22ebfa41525a
[gaim-migrate @ 4557]
This fixes a bug when moving buddies around within a group.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 12 Jan 2003 00:02:45 +0000 |
parents | 6c67b7bfe6cf |
children | b3a14484fc2f |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sat Jan 11 22:22:50 2003 +0000 +++ b/src/protocols/oscar/oscar.c Sun Jan 12 00:02:45 2003 +0000 @@ -4032,7 +4032,7 @@ #ifndef NOSSI static void oscar_move_buddy(struct gaim_connection *gc, const char *name, const char *old_group, const char *new_group) { struct oscar_data *od = (struct oscar_data *)gc->proto_data; - if (od->sess->ssi.received_data) { + if (od->sess->ssi.received_data && strcmp(old_group, new_group)) { debug_printf("ssi: moving buddy %s from group %s to group %s\n", name, old_group, new_group); aim_ssi_movebuddy(od->sess, od->conn, old_group, new_group, name); }