diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index e01adb8b..1a3587b0 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -151,7 +151,7 @@ class Module(ModuleManager.BaseModule): force_success = True break elif type == utils.consts.PERMISSION_ERROR: - error = returned + error = message if hard_fail: return False, error