From 5f197a7d5909762ec95f2f3cf37d100afdb488f0 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Mon, 10 Jan 2022 07:47:56 +0300 Subject: [PATCH] UI: FortSettings: Add hasMasterAdmin() --- src/ui/fortsettings.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/fortsettings.h b/src/ui/fortsettings.h index a19c803e..f5d3e01d 100644 --- a/src/ui/fortsettings.h +++ b/src/ui/fortsettings.h @@ -23,6 +23,7 @@ public: bool hasService() const { return m_hasService; } bool isMaster() const { return !hasService() || isService(); } + bool hasMasterAdmin() const { return hasService() || isUserAdmin(); } bool isUserAdmin() const { return m_isUserAdmin; }