mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-19 18:11:45 +01:00
changed command do_list_llog_entries to normal function; it was not being used as a command
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user