file_commands.c

final_realms_fluffos_v1/lib/secure/simul_efun/file_commands.c · 319 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

/*
   simul efuns for destructive file commands
   Radix
*/

int rename(string src, string dst)
{
   string tmp;
   if(sscanf(src,"%s.o", tmp) == 1 && src[0..<3] == tmp)
      log_file(".FILES",ctime(time())+": "+this_player(1)->query_name()+
         " MV'ed "+src+" > "+dst+"\n");
   return efun::rename(src, dst);
}

Site Stats

Snippets: 1791
Codebases: 571