From bbd9118633963232ad1f357cba4b99394d2f4f82 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Mon, 20 Apr 2015 17:36:17 +0200 Subject: Added command !removeplr. Added basic anti spam for same scenarios and the same user. --- crsm.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crsm.hpp') diff --git a/crsm.hpp b/crsm.hpp index 5e8b570..b353950 100644 --- a/crsm.hpp +++ b/crsm.hpp @@ -178,6 +178,8 @@ private: void out(const QString& text); void replayOutputBuffer(QTcpSocket *socket, bool clear = true); + bool scenAllowed(const ScenarioSettings& scen, const ClientInfo& client, UserType userType); + CMD_FUNCTION(help); CMD_FUNCTION(passToClonk); CMD_FUNCTION(admin); -- cgit v1.2.3-54-g00ecf