summaryrefslogtreecommitdiffstats
path: root/ClientInfo.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2015-04-20 17:36:17 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2015-04-20 17:36:17 +0200
commitbbd9118633963232ad1f357cba4b99394d2f4f82 (patch)
tree84823b1e69546c5958a344544b02e54ffa62f45c /ClientInfo.hpp
parentf8e811491c7413689896efdf452493d114644221 (diff)
downloadmanager-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.hpp4
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);
}