From 3beaacf9ee1e310589de2f5f889e2b82db2a9cd8 Mon Sep 17 00:00:00 2001 From: Valentin Batz Date: Wed, 6 Oct 2004 16:48:59 +0000 Subject: [PATCH] Fixed possible printing bug with quit messages when the message is printed in the statuswindow git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3310 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-common/core/fe-messages.c b/src/fe-common/core/fe-messages.c index e33e973c..00415341 100644 --- a/src/fe-common/core/fe-messages.c +++ b/src/fe-common/core/fe-messages.c @@ -391,7 +391,7 @@ static void sig_message_quit(SERVER_REC *server, const char *nick, if (chans->len > 0) g_string_truncate(chans, chans->len-1); /* at least recode_fallback will be used */ - recoded = recode_in(reason, NULL); + recoded = recode_in(reason, nick); printformat(server, print_channel, MSGLEVEL_QUITS, count <= 1 ? TXT_QUIT : TXT_QUIT_ONCE, nick, address, recoded, chans->str);