removed weird == null comparing
This commit is contained in:
1 parent
d6cbba3d4b
commit
fd0d84dfb0
7 files changed
+10
-20
No files matched your search
@@ -109,7 +109,7 @@ class Player {
|
||||
|
||||
$this->joinTime = time();
|
||||
|
||||
if ($this->nickname == null || $this->nickname == '') {
|
||||
if (!$this->nickname) {
|
||||
$this->nickname = $this->login;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user