Fixed kick from logging again

This commit is contained in:
Shoghi Cervantes Pueyo 2012-12-20 19:52:18 +01:00
parent af9f1c3d01
commit 6339fb31bc

View File

@ -234,7 +234,7 @@ class Session{
$u = $this->server->api->player->get($this->username); $u = $this->server->api->player->get($this->username);
$c = $this->server->api->player->getByClientID($this->clientID); $c = $this->server->api->player->getByClientID($this->clientID);
if($u !== false){ if($u !== false){
$c->close("logged in from another location"); $u->close("logged in from another location");
} }
if($c !== false){ if($c !== false){
$c->close("logged in from another location"); $c->close("logged in from another location");