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_flags.cpp | |
parent | ad14c8145b8090aee0f4946b3b503786b6f8d1fb (diff) |
Fixed access comparators
Diffstat (limited to 'modules/commands/cs_flags.cpp')
-rw-r--r-- | modules/commands/cs_flags.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_flags.cpp b/modules/commands/cs_flags.cpp index e81589968..3003855e7 100644 --- a/modules/commands/cs_flags.cpp +++ b/modules/commands/cs_flags.cpp @@ -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) |