improved fake player recognition
This commit is contained in:
1 parent
a3a7e06926
commit
ea04eca452
2 files changed
+2
-2
No files matched your search
@@ -180,7 +180,7 @@ class Player {
|
||||
* @return bool
|
||||
*/
|
||||
public function isFakePlayer() {
|
||||
return ($this->pid <= 0 || !$this->path);
|
||||
return ($this->pid <= 0 || substr($this->login, 0, 1) === '*');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user