From 81268205caac49cf4ae34e6893c89f9d1488a5a4 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 10 Jun 2001 23:31:15 +0000 Subject: The automatic query rename wrote the "nick changed" messages to channels windows too. Now it's done only in the query window. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1546 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-irc-queries.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/fe-common/irc/fe-irc-queries.c') diff --git a/src/fe-common/irc/fe-irc-queries.c b/src/fe-common/irc/fe-irc-queries.c index 2cc81ecf..58cc9a48 100644 --- a/src/fe-common/irc/fe-irc-queries.c +++ b/src/fe-common/irc/fe-irc-queries.c @@ -22,6 +22,7 @@ #include "signals.h" #include "servers.h" #include "queries.h" +#include "nicklist.h" #include "irc.h" @@ -58,11 +59,8 @@ static void event_privmsg(SERVER_REC *server, const char *data, address. it was probably a nick change or reconnect to server, so rename the query. */ query = query_find_address(server, address); - if (query != NULL) { - signal_emit("message nick", 4, query->server, - nick, query->name, query->address); + if (query != NULL) query_change_nick(query, nick); - } } } -- cgit v1.2.3