diff options
author | Timo Sirainen <cras@irssi.org> | 2001-06-10 23:38:36 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-06-10 23:38:36 +0000 |
commit | 54242cdac5f671d36ee76fd8ea78439cf2ff8ffe (patch) | |
tree | d79954596c9a693aa1c678ec2b60255ccbdfdb14 /src/fe-common | |
parent | 81268205caac49cf4ae34e6893c89f9d1488a5a4 (diff) | |
download | irssi-54242cdac5f671d36ee76fd8ea78439cf2ff8ffe.zip |
own nick changed were printed as if it was done by someone else
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1547 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/irc/fe-events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c index bece78f8..ccf5b0bc 100644 --- a/src/fe-common/irc/fe-events.c +++ b/src/fe-common/irc/fe-events.c @@ -189,7 +189,8 @@ static void event_nick(IRC_SERVER_REC *server, const char *data, params = event_get_params(data, 1, &newnick); - signal_emit(g_strcasecmp(sender, server->nick) == 0 ? + /* NOTE: server->nick was already changed in irc/core/irc-nicklist.c */ + signal_emit(g_strcasecmp(newnick, server->nick) == 0 ? "message own_nick" : "message nick", 4, server, newnick, sender, addr); |