summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/access.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/access.cpp b/src/access.cpp
index 3c1eb8714..cbe2f2a12 100644
--- a/src/access.cpp
+++ b/src/access.cpp
@@ -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