unlock limits

master
zmv7 2022-08-09 17:19:37 +05:00 committed by GitHub
parent 86fd31df03
commit 8c642dfdc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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<std::string> &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;