improved fake player recognition

This commit is contained in:
Steffen Schröder
2014-07-20 00:00:31 +02:00
parent a3a7e06926
commit ea04eca452
2 changed files with 2 additions and 2 deletions

View File

@ -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) === '*');
}
/**