From 443b42fd3c0f412783376eab7dfab19ba0be98da Mon Sep 17 00:00:00 2001 From: kremsy Date: Thu, 2 Jan 2014 14:35:00 +0100 Subject: [PATCH] player without nicknames get login as nick --- application/core/Players/Player.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/core/Players/Player.php b/application/core/Players/Player.php index 000ee84d..b8cb84b4 100644 --- a/application/core/Players/Player.php +++ b/application/core/Players/Player.php @@ -59,6 +59,9 @@ class Player { $this->ipAddress = $rpcInfos['IPAddress']; $this->joinTime = time(); + + if($this->nickname == '') + $this->nickname = $this->login; } /**