mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
some nick change events didn't print the address parameter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2714 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0cc7baa7df
commit
90f7cd904c
@ -449,7 +449,8 @@ static void print_nick_change(SERVER_REC *server, const char *newnick,
|
|||||||
|
|
||||||
if (!msgprint && ownnick) {
|
if (!msgprint && ownnick) {
|
||||||
printformat(server, NULL, MSGLEVEL_NICKS,
|
printformat(server, NULL, MSGLEVEL_NICKS,
|
||||||
TXT_YOUR_NICK_CHANGED, oldnick, newnick, "");
|
TXT_YOUR_NICK_CHANGED, oldnick, newnick, "",
|
||||||
|
address);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -466,7 +467,8 @@ static void sig_message_own_nick(SERVER_REC *server, const char *newnick,
|
|||||||
print_nick_change(server, newnick, oldnick, address, TRUE);
|
print_nick_change(server, newnick, oldnick, address, TRUE);
|
||||||
else {
|
else {
|
||||||
printformat(server, NULL, MSGLEVEL_NICKS,
|
printformat(server, NULL, MSGLEVEL_NICKS,
|
||||||
TXT_YOUR_NICK_CHANGED, oldnick, newnick, "");
|
TXT_YOUR_NICK_CHANGED, oldnick, newnick, "",
|
||||||
|
address);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ static void signal_query_nick_changed(QUERY_REC *query, const char *oldnick)
|
|||||||
/* don't print the nick change message if only the case was changed */
|
/* don't print the nick change message if only the case was changed */
|
||||||
if (g_strcasecmp(query->name, oldnick) != 0) {
|
if (g_strcasecmp(query->name, oldnick) != 0) {
|
||||||
printformat_dest(&dest, TXT_NICK_CHANGED, oldnick,
|
printformat_dest(&dest, TXT_NICK_CHANGED, oldnick,
|
||||||
query->name, query->name);
|
query->name, query->name, query->address);
|
||||||
}
|
}
|
||||||
|
|
||||||
signal_emit("window item changed", 2,
|
signal_emit("window item changed", 2,
|
||||||
|
Loading…
Reference in New Issue
Block a user