log.c

skylib_fluffos_v3/mudlib/global/player/log.c · 199 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

private nosave mapping last_error;

void logging_commands() {
}

void set_last_error(mapping err) {
  last_error = err;
}

mapping get_last_error() {
  return (mappingp(last_error)?last_error:0);
}

Site Stats

Snippets: 1791
Codebases: 571