summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 16:23:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 16:23:06 +0300
commitd69abc43187ded70dce586d793a4dc1dbcd1010d (patch)
treea69ede97c82ba5dd7b2e2ed53f6dc9f7c221fbb9 /src/commands.h
parent4455f3a3dd5fa28ef7fc1d1cf6d2bff723c90b47 (diff)
downloadplus-d69abc43187ded70dce586d793a4dc1dbcd1010d.tar.gz
plus-d69abc43187ded70dce586d793a4dc1dbcd1010d.tar.bz2
plus-d69abc43187ded70dce586d793a4dc1dbcd1010d.tar.xz
plus-d69abc43187ded70dce586d793a4dc1dbcd1010d.zip
Move chat command /uploadconfig into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands.h b/src/commands.h
index 907ed82d3..6ceb84d6c 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -52,7 +52,6 @@ struct CommandInfo final
namespace Commands
{
decHandler(hack);
- decHandler(uploadConfig);
decHandler(uploadServerConfig);
decHandler(uploadLog);
decHandler(gm);
@@ -63,8 +62,7 @@ namespace Commands
enum
{
- COMMAND_UPLOADCONFIG = 0,
- COMMAND_UPLOADSERVERCONFIG,
+ COMMAND_UPLOADSERVERCONFIG = 0,
COMMAND_UPLOADLOG,
COMMAND_GM,
COMMAND_HACK,
@@ -74,7 +72,6 @@ enum
static const CommandInfo commands[] =
{
- {"uploadconfig", &Commands::uploadConfig, -1, false},
{"uploadserverconfig", &Commands::uploadServerConfig, -1, false},
{"uploadlog", &Commands::uploadLog, -1, false},
{"gm", &Commands::gm, -1, true},