diff --git a/module/Core/Command.hpp b/module/Core/Command.hpp index 422eb3de..d6a83205 100644 --- a/module/Core/Command.hpp +++ b/module/Core/Command.hpp @@ -1872,7 +1872,10 @@ public: bool AuthCheck(const Object & invoker) { // Do we need explicit authority verification? - if (!m_Protected) { /* Anyone can invoke this command */ } + if (!m_Protected) + { + return true; // Anyone can invoke this command + } // Was there a custom authority inspector specified? else if (!m_OnAuth.IsNull()) {