diff options
author | Adam <Adam@anope.org> | 2011-12-15 01:14:13 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-12-15 01:14:13 -0500 |
commit | 9ea030d0600624095204af192e99c16e2d78a42e (patch) | |
tree | 403d8c07c4788f8921955d164bbc07b473cfd3be /modules/commands/cs_access.cpp | |
parent | ad14c8145b8090aee0f4946b3b503786b6f8d1fb (diff) |
Fixed access comparators
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r-- | modules/commands/cs_access.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp index bda726276..68a367701 100644 --- a/modules/commands/cs_access.cpp +++ b/modules/commands/cs_access.cpp @@ -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); } |