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;