mirror of
https://github.com/anope/anope.git
synced 2026-06-25 02:46:37 +02:00
Fixed access comparators
This commit is contained in:
@@ -33,7 +33,7 @@ class FlagsChanAccess : public ChanAccess
|
||||
return false;
|
||||
}
|
||||
|
||||
bool HasPriv(const Anope::string &priv)
|
||||
bool HasPriv(const Anope::string &priv) const
|
||||
{
|
||||
std::map<Anope::string, char>::iterator it = defaultFlags.find(priv);
|
||||
if (it != defaultFlags.end() && this->flags.count(it->second) > 0)
|
||||
|
||||
Reference in New Issue
Block a user