mirror of
https://github.com/anope/anope.git
synced 2026-06-29 22:26:38 +02:00
Fixed AccessGroup::operator> fail
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ bool AccessGroup::operator>(const AccessGroup &other) const
|
||||
for (size_t i = CA_SIZE; i > 0; --i)
|
||||
if (this->HasPriv(static_cast<ChannelAccess>(i - 1)) && !other.HasPriv(static_cast<ChannelAccess>(i - 1)))
|
||||
return true;
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool AccessGroup::operator<(const AccessGroup &other) const
|
||||
|
||||
Reference in New Issue
Block a user