From 6dc0eddef4e743352c36ea8d90f684f8fd424559 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Fri, 12 Jun 2015 01:56:58 +0200 Subject: Added basic antiflood. Release round admin when he is leaving, but he can regain it in a specified time. --- CmdFunctionRef.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CmdFunctionRef.hpp') diff --git a/CmdFunctionRef.hpp b/CmdFunctionRef.hpp index 9c77348..f862823 100644 --- a/CmdFunctionRef.hpp +++ b/CmdFunctionRef.hpp @@ -7,7 +7,7 @@ class CRSM; #define CMD_FUNCTION(name) void name(const QString& cmd, const QString& args, const ClientInfo& client, UserType userType) -#define CMD_FUNCTION_IMPL(name) void CRSM::name(const QString& cmd, const QString& args, const ClientInfo& client, UserType userType) +#define CMD_FUNCTION_IMPL(name) void CRSM::name(const QString& cmd, const QString& args, const ClientInfo& client, UserType userType) { (void)cmd; (void)args; (void)client; (void)userType; enum UserType { User = 0, -- cgit v1.2.3-54-g00ecf