reaper.c
ds2.1/lib/daemon/reaper.c · 378 B
From the archive ds2.1.zip
Download the archive « Back to the archive contents
/*
* Seeks dummy items without an environment and destroys them.
* Hackey workaround to sloppy code I'm still tracking down.
* -Crat 21Jan06
*/
#include <lib.h>
inherit LIB_DAEMON;
static void eventReap() {
call_out((: eventReap :), 300);
reap_dummies();
}
static void create() {
daemon::create();
SetNoClean(1);
call_out((: eventReap :), 300);
}