summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-06-10 23:31:15 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-06-10 23:31:15 +0000
commit81268205caac49cf4ae34e6893c89f9d1488a5a4 (patch)
tree2d7abbf71a6d9cfd07ebfb3c362f7325b7cf5167 /src/fe-common/irc
parent9cef6586610321d48feb1f15a3b9c9196e557793 (diff)
downloadirssi-81268205caac49cf4ae34e6893c89f9d1488a5a4.zip
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
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r--src/fe-common/irc/fe-irc-queries.c6
1 files changed, 2 insertions, 4 deletions
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);
- }
}
}