X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Fbriskin5.phh;h=c1c0f5b8e130c70f2c2c8cac4ba1ded1a00cea78;hb=e3f08ce0aa95f67bd7d58d0b8aa65dbe0e3367d0;hp=1ad19372b06ef512f39e30b5ff9afad0427b98b3;hpb=e8dc1380509c5fe947b8be3ad44afc671515f871;p=brisk.git diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index 1ad1937..c1c0f5b 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -255,12 +255,12 @@ class Briskin5 { log_wr("LOCK_DATA ".FTOK_PATH."/table".$table_idx); // echo "LOCK: ".FTOK_PATH."/main"; // exit; - // FIXME monitor this step + // WARNING monitor this step if (($tok = @ftok(FTOK_PATH."/table".$table_idx, "B")) == -1) { echo "FTOK FAILED"; exit; } - // FIXME monitor this step + // WARNING monitor this step if (($res = @sem_get($tok)) == FALSE) { echo "SEM_GET FAILED"; exit; @@ -293,15 +293,15 @@ class Briskin5 { $user_mesg = substr($mesg,6); - $timecur = time(); + $curtime = time(); - $dt = date("H:i ", $timecur); + $dt = date("H:i ", $curtime); if (strncmp($user_mesg, "/nick ", 6) == 0) { log_main($user->sess." chatt_send BEGIN"); if (($name_new = validate_name(substr($user_mesg, 6))) == FALSE) { $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; - $user->comm[$user->step % COMM_N] .= sprintf('chatt_sub("%s","Il nickname deve contenere almeno una lettera o una cifra.");', $dt.NICKSERV, xcape($name_new)); + $user->comm[$user->step % COMM_N] .= sprintf('chatt_sub("%s","Il nickname deve contenere almeno una lettera dell\'alfabeto o una cifra.");', $dt.NICKSERV); $user->step_inc(); return; @@ -382,7 +382,7 @@ class Briskin5 { $dt.xcape($user->name), xcape($user_mesg)); $user_cur->step_inc(); } - log_legal($timecur, $user->sess, $user->name, + log_legal($curtime, $user->sess, $user->name, ($user->stat == 'room' ? 'room' : 'table '.$user->table),$user_mesg); } }