mirror of
https://github.com/anope/anope.git
synced 2026-07-04 16:33:13 +02:00
Attempt #3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user