mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-23 18:50:13 +01:00
changed command do_list_llog_entries to normal function; it was not being used as a command
This commit is contained in:
parent
33e6a8c41b
commit
e8c87e82e4
2 changed files with 3 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue