player without nicknames get login as nick

This commit is contained in:
kremsy committed 2014-01-02 14:35:00 +01:00
1 parent 53ea9c7774
commit 443b42fd3c
1 file changed
+3
+3
View File
@@ -59,6 +59,9 @@ class Player {
$this->ipAddress = $rpcInfos['IPAddress'];
$this->joinTime = time();
if($this->nickname == '')
$this->nickname = $this->login;
}
/**