diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2015-06-12 01:56:58 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2015-06-12 01:56:58 +0200 |
| commit | 6dc0eddef4e743352c36ea8d90f684f8fd424559 (patch) | |
| tree | 0fc0ae294ad2821ffe7a076753ce0fd0e7faeafc /CmdFunctionRef.hpp | |
| parent | bbd9118633963232ad1f357cba4b99394d2f4f82 (diff) | |
| download | manager-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.hpp | 2 |
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, |
