summaryrefslogtreecommitdiff
path: root/modules/commands/cs_flags.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-12-15 01:14:13 -0500
committerAdam <Adam@anope.org>2011-12-15 01:14:13 -0500
commit9ea030d0600624095204af192e99c16e2d78a42e (patch)
tree403d8c07c4788f8921955d164bbc07b473cfd3be /modules/commands/cs_flags.cpp
parentad14c8145b8090aee0f4946b3b503786b6f8d1fb (diff)
Fixed access comparators
Diffstat (limited to 'modules/commands/cs_flags.cpp')
-rw-r--r--modules/commands/cs_flags.cpp2
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)