From b62615e32ab5334ed51b61c61d6811942cb80531 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 28 Jun 2001 22:40:24 +0000 Subject: Nick changes were printed twice in queries. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1586 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-messages.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/fe-common/core/fe-messages.c b/src/fe-common/core/fe-messages.c index 2c8701da..0bf33700 100644 --- a/src/fe-common/core/fe-messages.c +++ b/src/fe-common/core/fe-messages.c @@ -444,20 +444,6 @@ static void print_nick_change(SERVER_REC *server, const char *newnick, msgprint = TRUE; } - for (tmp = server->queries; tmp != NULL; tmp = tmp->next) { - QUERY_REC *query = tmp->data; - WINDOW_REC *window = - window_item_window((WI_ITEM_REC *) query); - - if (g_strcasecmp(query->name, oldnick) != 0 || - g_slist_find(windows, window) != NULL) - continue; - - windows = g_slist_append(windows, window); - print_nick_change_channel(server, query->name, newnick, - oldnick, address, ownnick); - msgprint = TRUE; - } g_slist_free(windows); if (!msgprint && ownnick) { -- cgit v1.2.3