From e8a80dd2df6149378b7b6ae103f95beaa995d4a4 Mon Sep 17 00:00:00 2001 From: kremsy Date: Sun, 25 May 2014 10:23:45 +0200 Subject: [PATCH] small fix --- application/core/Admin/AuthenticationManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/Admin/AuthenticationManager.php b/application/core/Admin/AuthenticationManager.php index 1f6cbd14..c597e110 100644 --- a/application/core/Admin/AuthenticationManager.php +++ b/application/core/Admin/AuthenticationManager.php @@ -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)); } /**