From 90f7cd904cf0e3e334abda26c66a54b6dc23e189 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 25 Apr 2002 15:47:06 +0000 Subject: 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 --- src/fe-common/core/fe-messages.c | 6 ++++-- src/fe-common/core/fe-queries.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/fe-common/core/fe-messages.c b/src/fe-common/core/fe-messages.c index e83f0faa..48130103 100644 --- a/src/fe-common/core/fe-messages.c +++ b/src/fe-common/core/fe-messages.c @@ -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); } } diff --git a/src/fe-common/core/fe-queries.c b/src/fe-common/core/fe-queries.c index 6625bfc6..c8fac9ae 100644 --- a/src/fe-common/core/fe-queries.c +++ b/src/fe-common/core/fe-queries.c @@ -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 */ if (g_strcasecmp(query->name, oldnick) != 0) { printformat_dest(&dest, TXT_NICK_CHANGED, oldnick, - query->name, query->name); + query->name, query->name, query->address); } signal_emit("window item changed", 2, -- cgit v1.2.3