Permissions: Fix missing initialization with 0 in some cases
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -27,6 +27,7 @@ Permissions::Permissions(int permissions)
|
||||
|
||||
Permissions::Permissions(const std::string &str)
|
||||
{
|
||||
this->permissions = 0;
|
||||
for(auto permission : permmap)
|
||||
{
|
||||
if(str.find(permission.first) != std::string::npos)
|
||||
|
Αναφορά σε νέο ζήτημα
Block a user