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:
Timo Sirainen 2002-04-25 15:47:06 +00:00 committed by cras
commit 90f7cd904c
2 changed files with 5 additions and 3 deletions

View file

@ -449,7 +449,8 @@ static void print_nick_change(SERVER_REC *server, const char *newnick,
if (!msgprint && ownnick) {
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);
else {
printformat(server, NULL, MSGLEVEL_NICKS,
TXT_YOUR_NICK_CHANGED, oldnick, newnick, "");
TXT_YOUR_NICK_CHANGED, oldnick, newnick, "",
address);
}
}