MOO-cows Mailing List Archive


Re: temporary wizbit

>Here's my MOO 1.8.0 version of implementing the idea...
>;add_property($server_options, "protect_shutdown", 1, {player, "r"})
>;add_verb(#0, {player, "rdx", "bf_shutdown"}, {"this","none","this"})
>.program #0:bf_shutdown
>set_task_perms((cp = caller_perms()) == #110 ? #2 | cp);
>return shutdown(@args);

The problem with this code is that in the log, it will say that #2 shutdown
the db, which is what I think Seth doesn't want.  Of course, a simple
server_log() call could fix that.


Home | Subject Index | Thread Index