mud/lib/cmds/creators/bugs.c
2020-09-06 05:43:07 -07:00

18 lines
354 B
C

#include <lib.h>
#include <daemons.h>
inherit LIB_DAEMON;
int cmd() {
int bugs = BUGS_D->BugCheck();
write("Unresolved bug reports: "+bugs);
return 1;
}
string GetHelp() {
return ("Syntax: bugs\n\n"
"Returns the number of unresolved bug reports in the bug "
"tracking system.\n"
"See also: bug");
}