diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2015-04-20 17:36:17 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2015-04-20 17:36:17 +0200 |
| commit | bbd9118633963232ad1f357cba4b99394d2f4f82 (patch) | |
| tree | 84823b1e69546c5958a344544b02e54ffa62f45c /ClientInfo.hpp | |
| parent | f8e811491c7413689896efdf452493d114644221 (diff) | |
| download | manager-bbd9118633963232ad1f357cba4b99394d2f4f82.tar.gz manager-bbd9118633963232ad1f357cba4b99394d2f4f82.zip | |
Added command !removeplr.
Added basic anti spam for same scenarios and the same user.
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); } |
