mirror of
https://github.com/anope/anope.git
synced 2026-07-04 09:25:43 +02:00
Fixed access comparators
This commit is contained in:
@@ -40,7 +40,7 @@ class AccessChanAccess : public ChanAccess
|
||||
return false;
|
||||
}
|
||||
|
||||
bool HasPriv(const Anope::string &name)
|
||||
bool HasPriv(const Anope::string &name) const
|
||||
{
|
||||
return this->ci->GetLevel(name) != ACCESS_INVALID && this->level >= this->ci->GetLevel(name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user