player without nicknames get login as nick

This commit is contained in:
kremsy 2014-01-02 14:35:00 +01:00
parent 53ea9c7774
commit 443b42fd3c

View File

@ -59,6 +59,9 @@ class Player {
$this->ipAddress = $rpcInfos['IPAddress'];
$this->joinTime = time();
if($this->nickname == '')
$this->nickname = $this->login;
}
/**