log_legal refactored
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 1 Feb 2009 15:46:48 +0000 (15:46 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 1 Feb 2009 15:46:48 +0000 (15:46 +0000)
web/briskin5/index_wr.php

index 58c4ccb..a63b5da 100644 (file)
@@ -454,7 +454,7 @@ else if ($user->stat == 'table') {
 
           $plist = "$table->table_token|$user->table|$table->player_n";
           $curtime = time();
-          log_legal($curtime, $user->sess, $user->name, "STAT:FINISH_GAME", $plist);
+          log_legal($curtime, $user, "STAT:FINISH_GAME", $plist);
 
          /* ************************************************ */
          /*    PRIMA LA PARTE PER LO SHOW DI CHI HA VINTO    */