player without nicknames get login as nick
This commit is contained in:
		| @@ -59,6 +59,9 @@ class Player { | |||||||
| 		$this->ipAddress = $rpcInfos['IPAddress']; | 		$this->ipAddress = $rpcInfos['IPAddress']; | ||||||
| 		 | 		 | ||||||
| 		$this->joinTime = time(); | 		$this->joinTime = time(); | ||||||
|  |  | ||||||
|  | 		if($this->nickname == '') | ||||||
|  | 			$this->nickname = $this->login; | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	/** | 	/** | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user