summaryrefslogtreecommitdiffstats
path: root/CmdFunctionRef.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'CmdFunctionRef.hpp')
-rw-r--r--CmdFunctionRef.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/CmdFunctionRef.hpp b/CmdFunctionRef.hpp
index 586090a..9c77348 100644
--- a/CmdFunctionRef.hpp
+++ b/CmdFunctionRef.hpp
@@ -6,13 +6,14 @@
class CRSM;
-#define CMD_FUNCTION(name) void name(const QString& cmd, const QString& args, const ClientInfo& client, UserType userTypeModerator)
+#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)
enum UserType {
User = 0,
Admin = 1,
- Moderator = 2
+ Moderator = 2,
+ Max = Moderator
};
typedef void (CRSM::*CmdFunction)(const QString&, const QString&, const ClientInfo&, UserType);