From 9b58ba6516531e268aa19c2dbaaad1d9c08545f0 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Tue, 28 Jul 2009 02:17:57 +0200 Subject: [PATCH] Use correct prefix for log command. --- src/core/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/commands.c b/src/core/commands.c index 6a10167..38dc9ea 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -436,7 +436,7 @@ static int command_log(struct hub_info* hub, struct hub_user* user, struct hub_c { sprintf(tmp, "Logged entries: %d", (int) list_size(messages)); } - send_message(hub, user, tmp); + command_status(hub, user, cmd, tmp); log = (struct hub_logout_info*) list_get_first(messages); while (log) @@ -468,7 +468,7 @@ static int command_log(struct hub_info* hub, struct hub_user* user, struct hub_c if (search_len) { sprintf(tmp, "%d entries shown.", (int) search_hits); - send_message(hub, user, tmp); + command_status(hub, user, cmd, tmp); } return 0;