summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-messages.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/fe-messages.c')
-rw-r--r--src/fe-common/core/fe-messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-messages.c b/src/fe-common/core/fe-messages.c
index 6fb6fc1d..93f471f5 100644
--- a/src/fe-common/core/fe-messages.c
+++ b/src/fe-common/core/fe-messages.c
@@ -401,7 +401,7 @@ static void print_nick_change(SERVER_REC *server, const char *newnick,
WINDOW_REC *window =
window_item_window((WI_ITEM_REC *) channel);
- if (nicklist_find(channel, oldnick) == NULL ||
+ if (nicklist_find(channel, newnick) == NULL ||
g_slist_find(windows, window) != NULL)
continue;