summaryrefslogtreecommitdiffstats
path: root/CmdFunctionRef.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2015-06-12 01:56:58 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2015-06-12 01:56:58 +0200
commit6dc0eddef4e743352c36ea8d90f684f8fd424559 (patch)
tree0fc0ae294ad2821ffe7a076753ce0fd0e7faeafc /CmdFunctionRef.hpp
parentbbd9118633963232ad1f357cba4b99394d2f4f82 (diff)
downloadmanager-6dc0eddef4e743352c36ea8d90f684f8fd424559.tar.gz
manager-6dc0eddef4e743352c36ea8d90f684f8fd424559.zip
Added basic antiflood.
Release round admin when he is leaving, but he can regain it in a specified time.
Diffstat (limited to 'CmdFunctionRef.hpp')
-rw-r--r--CmdFunctionRef.hpp2
1 files changed, 1 insertions, 1 deletions
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,