small fix

This commit is contained in:
kremsy 2014-05-25 10:23:45 +02:00
parent f60d53478c
commit e8a80dd2df

View File

@ -316,7 +316,7 @@ class AuthenticationManager implements CallbackListener {
*/
public function checkPermission(Player $player, $rightName) {
$right = $this->maniaControl->settingManager->getSettingValue($this, $rightName);
return $this->checkRight($player, $right);
return $this->checkRight($player, $this->getAuthLevel($right));
}
/**