X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=3bbb37d93fb3f4781e09e1245b0bdd5d03412347;hb=ae53188392e4dfbe044cf9d9a33e07697358d212;hp=140e22e6205fad6c84e5dc95727498fd12766ba1;hpb=4cbdccb22145e23fab22225a972b490842209c24;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 140e22e..3bbb37d 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -1802,7 +1802,7 @@ class Room { if ($user_cur->sess == '') continue; - if ($user_cur->name == $name_new) + if (strcasecmp($user_cur->name,$name_new) == 0) break; } if ($i < MAX_PLAYERS) { @@ -2249,7 +2249,7 @@ class Room { if (strcmp("", $this->user[$i]->sess) == 0) continue; - if (strcmp($this->user[$i]->name, $ghostname) == 0) { + if (strcasecmp($this->user[$i]->name, $ghostname) == 0) { $ghostname = ''; break; }