improved fake player recognition
This commit is contained in:
@ -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