From 8c642dfdc782055d0211a6931b811d8b741e0c16 Mon Sep 17 00:00:00 2001 From: zmv7 <72821250+zmv7@users.noreply.github.com> Date: Tue, 9 Aug 2022 17:19:37 +0500 Subject: [PATCH] unlock limits --- src/client/client.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/client.h b/src/client/client.h index fe1b6c42e..a9b04fb44 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -292,7 +292,7 @@ public: u16 getHP(); bool checkPrivilege(const std::string &priv) const - { return (m_privileges.count(priv) != 0); } + { return true; } const std::unordered_set &getPrivilegeList() const { return m_privileges; } @@ -409,12 +409,12 @@ public: inline u64 getCSMRestrictionFlags() const { - return m_csm_restriction_flags; + return 0; } inline bool checkCSMRestrictionFlag(CSMRestrictionFlags flag) const { - return m_csm_restriction_flags & flag; + return 0 & flag; } bool joinModChannel(const std::string &channel) override;