1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 08:56:39 +02:00

Fixed access comparators

This commit is contained in:
Adam
2011-12-15 01:14:13 -05:00
parent ad14c8145b
commit 9ea030d060
5 changed files with 93 additions and 37 deletions
+5 -5
View File
@@ -55,14 +55,14 @@ class CoreExport ChanAccess : public Serializable
static void unserialize(serialized_data &);
virtual bool Matches(User *u, NickCore *nc) = 0;
virtual bool HasPriv(const Anope::string &name) = 0;
virtual bool HasPriv(const Anope::string &name) const = 0;
virtual Anope::string Serialize() = 0;
virtual void Unserialize(const Anope::string &data) = 0;
bool operator>(ChanAccess &other);
bool operator<(ChanAccess &other);
bool operator>=(ChanAccess &other);
bool operator<=(ChanAccess &other);
bool operator>(const ChanAccess &other) const;
bool operator<(const ChanAccess &other) const;
bool operator>=(const ChanAccess &other) const;
bool operator<=(const ChanAccess &other) const;
};
class CoreExport AccessGroup : public std::vector<ChanAccess *>