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
This commit is contained in:
Timo Sirainen 2001-06-10 23:31:15 +00:00 committed by cras
commit 81268205ca
2 changed files with 5 additions and 4 deletions

View file

@ -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);
}
}
}