summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
diff options
context:
space:
mode:
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);
- }
}
}