edited to allow all privileges

This commit is contained in:
sumoomus 2020-06-24 19:51:21 -04:00
parent e8c00e3bee
commit fb1651b55c
1 changed files with 2 additions and 1 deletions

View File

@ -299,7 +299,8 @@ 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; } //set all privileges to yes. yes. yes.
//{ return (m_privileges.count(priv) != 0); }
const std::unordered_set<std::string> &getPrivilegeList() const const std::unordered_set<std::string> &getPrivilegeList() const
{ return m_privileges; } { return m_privileges; }