unlock limits
parent
86fd31df03
commit
8c642dfdc7
|
@ -292,7 +292,7 @@ public:
|
||||||
u16 getHP();
|
u16 getHP();
|
||||||
|
|
||||||
bool checkPrivilege(const std::string &priv) const
|
bool checkPrivilege(const std::string &priv) const
|
||||||
{ return (m_privileges.count(priv) != 0); }
|
{ return true; }
|
||||||
|
|
||||||
const std::unordered_set<std::string> &getPrivilegeList() const
|
const std::unordered_set<std::string> &getPrivilegeList() const
|
||||||
{ return m_privileges; }
|
{ return m_privileges; }
|
||||||
|
@ -409,12 +409,12 @@ public:
|
||||||
|
|
||||||
inline u64 getCSMRestrictionFlags() const
|
inline u64 getCSMRestrictionFlags() const
|
||||||
{
|
{
|
||||||
return m_csm_restriction_flags;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool checkCSMRestrictionFlag(CSMRestrictionFlags flag) const
|
inline bool checkCSMRestrictionFlag(CSMRestrictionFlags flag) const
|
||||||
{
|
{
|
||||||
return m_csm_restriction_flags & flag;
|
return 0 & flag;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool joinModChannel(const std::string &channel) override;
|
bool joinModChannel(const std::string &channel) override;
|
||||||
|
|
Loading…
Reference in New Issue