changed command do_list_llog_entries to normal function; it was not being used as a command

This commit is contained in:
Rhade 2008-05-05 21:53:49 +00:00
parent 33e6a8c41b
commit e8c87e82e4
2 changed files with 3 additions and 4 deletions

View file

@ -316,8 +316,6 @@ ACMD(do_gecho);
ACMD(do_goto); ACMD(do_goto);
ACMD(do_invis); ACMD(do_invis);
ACMD(do_links); ACMD(do_links);
/** @todo function intentionally unused? */
ACMD(do_list_llog_entries);
ACMD(do_load); ACMD(do_load);
ACMD(do_peace); ACMD(do_peace);
ACMD(do_plist); ACMD(do_plist);

View file

@ -1918,7 +1918,8 @@ void clean_llog_entries(void) {
} }
/* debugging stuff, if you wanna see the whole file */ /* debugging stuff, if you wanna see the whole file */
ACMD(do_list_llog_entries) { void list_llog_entries(struct char_data *ch)
{
FILE *fp; FILE *fp;
struct last_entry llast; struct last_entry llast;
@ -1963,7 +1964,7 @@ ACMD(do_last)
half_chop(argument, arg, argument); half_chop(argument, arg, argument);
while (*arg) { while (*arg) {
if ((*arg == '*') && (GET_LEVEL(ch) == LVL_IMPL)) { if ((*arg == '*') && (GET_LEVEL(ch) == LVL_IMPL)) {
do_list_llog_entries(ch, NULL, 0, 0); list_llog_entries(ch);
return; return;
} }
if (isdigit(*arg)) { if (isdigit(*arg)) {