summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/accessgroup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/accessgroup.h b/include/accessgroup.h
index bc7e84089..ff4376da7 100644
--- a/include/accessgroup.h
+++ b/include/accessgroup.h
@@ -50,7 +50,7 @@ class CoreExport AccessGroup : public std::vector<ChanAccess *>
* with the highest rank (see Privilege::rank).
* @return The "highest" entry
*/
- ChanAccess *Highest();
+ ChanAccess *Highest() const;
/* Comparison operators to other AccessGroups */
bool operator>(AccessGroup &other);
@@ -59,4 +59,4 @@ class CoreExport AccessGroup : public std::vector<ChanAccess *>
bool operator<=(AccessGroup &other);
};
-} // namespace ChanServ \ No newline at end of file
+} // namespace ChanServ