summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/chanserv/access.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/access.cpp b/modules/chanserv/access.cpp
index 32a6422cb..43892a34b 100644
--- a/modules/chanserv/access.cpp
+++ b/modules/chanserv/access.cpp
@@ -63,7 +63,7 @@ class AccessChanAccessImpl : public AccessChanAccess
int Compare(ChanAccess *other) override
{
if (this->GetSerializableType() != other->GetSerializableType())
- return ChanAccess::Compare(other);
+ return ChanAccessImpl::Compare(other);
int lev = this->GetLevel();
int theirlev = anope_dynamic_static_cast<AccessChanAccess *>(other)->GetLevel();