]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
log_points moved to briskin5 subtree
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Fri, 11 Feb 2011 07:23:11 +0000 (08:23 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Fri, 11 Feb 2011 07:23:11 +0000 (08:23 +0100)
web/Obj/brisk.phh
web/briskin5/Obj/briskin5.phh

index e51304de53516915ba3effb4c8bb8e9771d4e674..34e08b03e5f03993b3c097536036dbbed7ce15df 100644 (file)
@@ -2560,21 +2560,6 @@ function log_legal($curtime, &$user, $where, $mesg)
   }
 }
 
-function log_points($curtime, &$user, $where, $mesg) 
-{
-  GLOBAL $_SERVER;
-
-  if (($fp = @fopen(LEGAL_PATH."/points.log", 'a')) != FALSE) {
-    /* Unix time | session | nickname | IP | where was | mesg */
-    fwrite($fp, sprintf("%ld|%s|%s|%s|%s|%s|%s|\n", $curtime, $user->sess,
-                        ($user->flags & USER_FLAG_AUTH ? 'A' : 'N'),
-                        $user->name, $_SERVER['REMOTE_ADDR'], $where , $mesg));
-    fclose($fp);
-  }
-}
-
-
-
 
 function lock_banlist()
 {
index 2990da4742f19fe35b20ad22d296e105c1020885..3e5c6859d669e9a3378a63134dd5189f8e308c86 100644 (file)
@@ -1497,4 +1497,17 @@ function game_result($asta_pnt, $pnt)
   }
 }
 
+function log_points($curtime, &$user, $where, $mesg) 
+{
+  GLOBAL $_SERVER;
+
+  if (($fp = @fopen(LEGAL_PATH."/points.log", 'a')) != FALSE) {
+    /* Unix time | session | nickname | IP | where was | mesg */
+    fwrite($fp, sprintf("%ld|%s|%s|%s|%s|%s|%s|\n", $curtime, $user->sess,
+                        ($user->flags & USER_FLAG_AUTH ? 'A' : 'N'),
+                        $user->name, $_SERVER['REMOTE_ADDR'], $where , $mesg));
+    fclose($fp);
+  }
+}
+
 ?>