summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-core-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/fe-core-commands.c')
-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 */