mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
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:
parent
9cef658661
commit
81268205ca
2 changed files with 5 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue