diff options
author | Timo Sirainen <cras@irssi.org> | 2001-06-28 22:40:24 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-06-28 22:40:24 +0000 |
commit | b62615e32ab5334ed51b61c61d6811942cb80531 (patch) | |
tree | 3c5bef8911c0b0591f35159b7131415bb8fa56f8 | |
parent | 77b72271c888a1d7ce9b222ef247f67aac1c5331 (diff) | |
download | irssi-b62615e32ab5334ed51b61c61d6811942cb80531.zip |
Nick changes were printed twice in queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1586 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/core/fe-messages.c | 14 |
1 files changed, 0 insertions, 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) { |