Player check is done with equal name, not alike

This commit is contained in:
Shoghi Cervantes 2013-09-07 14:24:17 +02:00
parent df174d1b8e
commit 1bc3b66afd

View File

@ -1167,7 +1167,7 @@ class Player{
} }
$this->loggedIn = true; $this->loggedIn = true;
$u = $this->server->api->player->get($this->iusername); $u = $this->server->api->player->get($this->iusername, false);
if($u !== false){ if($u !== false){
$u->close("logged in from another location"); $u->close("logged in from another location");
} }