summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-26 23:56:09 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-26 23:56:09 +0000
commit4a4cd43f0f4ec9c2883ba5ccaa5479625d5870c2 (patch)
tree539937575e0bb44fccd0f8d3db8be832696b3c66 /src
parentdb2929decb48e27e376cca415d056730cad5ea3f (diff)
downloadirssi-4a4cd43f0f4ec9c2883ba5ccaa5479625d5870c2.zip
/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
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/fe-core-commands.c2
1 files changed, 1 insertions, 1 deletions
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 */