projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
case insensitive user name comparison
[brisk.git]
/
web
/
Obj
/
brisk.phh
diff --git
a/web/Obj/brisk.phh
b/web/Obj/brisk.phh
index
135d299
..
3bbb37d
100644
(file)
--- a/
web/Obj/brisk.phh
+++ b/
web/Obj/brisk.phh
@@
-286,8
+286,8
@@
Copyright 2006-2009 <a href=\\"mailto:brisk@alternativeoutput.it\\">Matteo Nasta
function mop_flush()
{
function mop_flush()
{
- flush();
ob_flush();
ob_flush();
+ flush();
}
function file_lock($fname, $is_exclusive)
}
function file_lock($fname, $is_exclusive)
@@
-321,6
+321,9
@@
function webservers_check()
{
GLOBAL $G_webserver_max;
{
GLOBAL $G_webserver_max;
+ /* FIXME: check all procs expirations */
+ return (10);
+
$ct = 0;
$dh = opendir('/proc');
$ct = 0;
$dh = opendir('/proc');
@@
-1799,7
+1802,7
@@
class Room {
if ($user_cur->sess == '')
continue;
if ($user_cur->sess == '')
continue;
- if (
$user_cur->name == $name_new
)
+ if (
strcasecmp($user_cur->name,$name_new) == 0
)
break;
}
if ($i < MAX_PLAYERS) {
break;
}
if ($i < MAX_PLAYERS) {
@@
-2246,7
+2249,7
@@
class Room {
if (strcmp("", $this->user[$i]->sess) == 0)
continue;
if (strcmp("", $this->user[$i]->sess) == 0)
continue;
- if (strcmp($this->user[$i]->name, $ghostname) == 0) {
+ if (strc
asec
mp($this->user[$i]->name, $ghostname) == 0) {
$ghostname = '';
break;
}
$ghostname = '';
break;
}
@@
-2363,7
+2366,7
@@
class Room {
for ($i = 0 ; $i < MAX_PLAYERS ; $i++) {
if (($room->user[$i] = User::load_data($i, FALSE)) == FALSE) {
for ($i = 0 ; $i < MAX_PLAYERS ; $i++) {
if (($room->user[$i] = User::load_data($i, FALSE)) == FALSE) {
- log_crit("
Bin5_u
ser::load_data failed");
+ log_crit("
U
ser::load_data failed");
break;
}
}
break;
}
}