summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/accessgroup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/accessgroup.cpp b/src/accessgroup.cpp
index a674f4723..a143bede1 100644
--- a/src/accessgroup.cpp
+++ b/src/accessgroup.cpp
@@ -53,7 +53,7 @@ bool AccessGroup::HasPriv(const Anope::string &priv)
return false;
}
-ChanAccess *AccessGroup::Highest()
+ChanAccess *AccessGroup::Highest() const
{
ChanAccess *highest = NULL;
for (unsigned i = 0; i < this->size(); ++i)
@@ -122,4 +122,4 @@ bool AccessGroup::operator>=(AccessGroup &other)
bool AccessGroup::operator<=(AccessGroup &other)
{
return !(*this > other);
-} \ No newline at end of file
+}