upgrade.c
final_realms_fluffos_v1/lib/secure/upgrade.c · 338 B
From the archive final_realms_fluffos_v1.zip
Download the archive « Back to the archive contents
void create() {
seteuid("Root");
} /* create() */
int new_player(object old) {
object ob;
int succ;
if(!old) return 0;
if(file_name(previous_object())!="/cmds/creator/upgrade") return 0;
ob = new("/secure/login");
succ=ob->new_player(old);
call_out((: destruct, this_object() :), 0);
return succ;
} /* new_player() */