summaryrefslogtreecommitdiff
path: root/modules/commands/cs_access.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-11-01 05:19:48 -0400
committerAdam <Adam@anope.org>2013-11-01 05:19:48 -0400
commit6e8d2bf09dbc349df5e2d2094a83a60c6309b76b (patch)
tree8c23a216d92f81cf09a18ce72eae503100100cb4 /modules/commands/cs_access.cpp
parent70e9b2027481273a4284b9f007e8592b016defe1 (diff)
Attempt #3
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r--modules/commands/cs_access.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp
index 9a6c0d886..e78bac824 100644
--- a/modules/commands/cs_access.cpp
+++ b/modules/commands/cs_access.cpp
@@ -49,7 +49,7 @@ class AccessChanAccess : public ChanAccess
if (this->provider != other.provider)
return ChanAccess::operator>(other);
else
- return this->level > anope_dynamic_static_cast<const AccessChanAccess &, const ChanAccess &>(other).level;
+ return this->level > anope_dynamic_static_cast<const AccessChanAccess *>(&other)->level;
}
bool operator<(const ChanAccess &other) const anope_override
@@ -57,7 +57,7 @@ class AccessChanAccess : public ChanAccess
if (this->provider != other.provider)
return ChanAccess::operator<(other);
else
- return this->level < anope_dynamic_static_cast<const AccessChanAccess &, const ChanAccess &>(other).level;
+ return this->level < anope_dynamic_static_cast<const AccessChanAccess *>(&other)->level;
}
};