minor change

This commit is contained in:
kremsy 2014-02-02 13:31:35 +01:00 committed by Steffen Schröder
parent d2959e7d90
commit 35b5e2ac47

View File

@ -106,7 +106,8 @@ class Player {
$this->currentTargetId = $mpPlayer->currentTargetId;
$this->joinTime = time();
if ($this->nickname == '') {
if ($this->nickname == null || $this->nickname == '') {
$this->nickname = $this->login;
}
}