create_me.c
final_realms_fluffos_v1/lib/secure/master/create_me.c · 419 B
From the archive final_realms_fluffos_v1.zip
Download the archive « Back to the archive contents
// Radix, July 1996
// Called from create() in /std/object.c
// if creator made me, tag their name to it
string get_create_me(string tmp)
{
object *obj = previous_object(-1);
int i;
for(i=sizeof(obj)-1; i > -1; --i)
{
// Randor's fix: 27-mar-98
if(!obj[i]) continue; // some prev obs may be dested...
if(obj[i]->query_creator())
return geteuid(obj[i]);
}
return tmp;
}