diff options
author | Adam <Adam@anope.org> | 2011-08-19 04:20:11 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-19 04:20:11 -0400 |
commit | b4f57247b8ed1de0ae2720d05601b64cd2d2e9b3 (patch) | |
tree | ca997a1e8c37058ccac2138045d6559894d35ab0 /src/access.cpp | |
parent | abdc69aa94adcd893ccff1f6c148b159c1de9718 (diff) |
Fixed AccessGroup::operator> fail
Diffstat (limited to 'src/access.cpp')
-rw-r--r-- | src/access.cpp | 2 |
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 |