From e8c87e82e4e9d4ab47afeb03f5c40fe97bc4c0f0 Mon Sep 17 00:00:00 2001 From: Rhade Date: Mon, 5 May 2008 21:53:49 +0000 Subject: [PATCH] changed command do_list_llog_entries to normal function; it was not being used as a command --- src/act.h | 2 -- src/act.wizard.c | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/act.h b/src/act.h index 2452e50..1a0afd0 100644 --- a/src/act.h +++ b/src/act.h @@ -316,8 +316,6 @@ ACMD(do_gecho); ACMD(do_goto); ACMD(do_invis); ACMD(do_links); -/** @todo function intentionally unused? */ -ACMD(do_list_llog_entries); ACMD(do_load); ACMD(do_peace); ACMD(do_plist); diff --git a/src/act.wizard.c b/src/act.wizard.c index cee3854..0da2006 100644 --- a/src/act.wizard.c +++ b/src/act.wizard.c @@ -1918,7 +1918,8 @@ void clean_llog_entries(void) { } /* debugging stuff, if you wanna see the whole file */ -ACMD(do_list_llog_entries) { +void list_llog_entries(struct char_data *ch) +{ FILE *fp; struct last_entry llast; @@ -1963,7 +1964,7 @@ ACMD(do_last) half_chop(argument, arg, argument); while (*arg) { if ((*arg == '*') && (GET_LEVEL(ch) == LVL_IMPL)) { - do_list_llog_entries(ch, NULL, 0, 0); + list_llog_entries(ch); return; } if (isdigit(*arg)) {