Use correct prefix for log command.

This commit is contained in:
Jan Vidar Krey 2009-07-28 02:17:57 +02:00
parent f322fbb197
commit 9b58ba6516
1 changed files with 2 additions and 2 deletions

View File

@ -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)); 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); log = (struct hub_logout_info*) list_get_first(messages);
while (log) while (log)
@ -468,7 +468,7 @@ static int command_log(struct hub_info* hub, struct hub_user* user, struct hub_c
if (search_len) if (search_len)
{ {
sprintf(tmp, "%d entries shown.", (int) search_hits); sprintf(tmp, "%d entries shown.", (int) search_hits);
send_message(hub, user, tmp); command_status(hub, user, cmd, tmp);
} }
return 0; return 0;