changeset 3215:5456065a16a8

[gaim-migrate @ 3232] For Luke committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 05 May 2002 20:19:40 +0000
parents f1ac8b51ec6b
children b17d773c3c80
files src/dialogs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Sun May 05 19:20:18 2002 +0000
+++ b/src/dialogs.c	Sun May 05 20:19:40 2002 +0000
@@ -3946,7 +3946,7 @@
 	if (new_name && (strlen(new_name) != 0) && strcmp(new_name, g->name)) {
 		char *prevname;
 		gc = g->gc;
-		if ((orig = find_group(g->gc, new_name)) != NULL) {
+		if ((orig = find_group(g->gc, new_name)) != NULL && g_strcasecmp(new_name, g->name)) {
 			orig->members = g_slist_concat(orig->members, g->members);
 			handle_group_rename(orig, g->name);
 			g->gc->groups = g_slist_remove(g->gc->groups, g);