From 4a4cd43f0f4ec9c2883ba5ccaa5479625d5870c2 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 26 Jul 2000 23:56:09 +0000 Subject: [PATCH] /ECHO didn't print to active window if it was empty and status window existed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@544 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-core-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c index b44c212e..bb5711c9 100644 --- a/src/fe-common/core/fe-core-commands.c +++ b/src/fe-common/core/fe-core-commands.c @@ -252,7 +252,7 @@ static void cmd_echo(const char *data, void *server, WI_ITEM_REC *item) { g_return_if_fail(data != NULL); - printtext(server, item == NULL ? NULL : item->name, MSGLEVEL_CRAP, "%s", data); + printtext_window(active_win, MSGLEVEL_CRAP, "%s", data); } /* SYNTAX: VERSION */