diff options
Diffstat (limited to 'ClientInfo.hpp')
| -rw-r--r-- | ClientInfo.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ClientInfo.hpp b/ClientInfo.hpp index 9c39c44..e2c7864 100644 --- a/ClientInfo.hpp +++ b/ClientInfo.hpp @@ -74,12 +74,12 @@ public: return ret; } - inline bool operator==(const ClientInfo& other) + inline bool operator==(const ClientInfo& other) const { return other.interface == interface && other.nick == nick && (interface == Clonk ? other.pcName == pcName && other.CUID == CUID : true); } - inline bool operator!=(const ClientInfo& other) + inline bool operator!=(const ClientInfo& other) const { return !operator==(other); } |
