From b25682842931ba1414a8c83d8353eb24c7203f92 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 18 Mar 2014 13:49:30 +0300 Subject: Add /gm chat command. It send message to all online gms. --- src/commands.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/commands.h') diff --git a/src/commands.h b/src/commands.h index e53d66559..6dd688a17 100644 --- a/src/commands.h +++ b/src/commands.h @@ -133,6 +133,7 @@ namespace Commands decHandler(uploadConfig); decHandler(uploadServerConfig); decHandler(uploadLog); + decHandler(gm); void replaceVars(std::string &str); } // namespace Commands @@ -233,6 +234,7 @@ enum COMMAND_UPLOADCONFIG, COMMAND_UPLOADSERVERCONFIG, COMMAND_UPLOADLOG, + COMMAND_GM, COMMAND_HACK, END_COMMANDS }; @@ -333,6 +335,7 @@ static const CommandInfo commands[] = {"uploadconfig", &Commands::uploadConfig, -1, false}, {"uploadserverconfig", &Commands::uploadServerConfig, -1, false}, {"uploadlog", &Commands::uploadLog, -1, false}, + {"gm", &Commands::gm, -1, true}, {"hack", &Commands::hack, -1, true} }; -- cgit v1.2.3-70-g09d2