summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-26 22:08:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-26 22:08:19 +0300
commit6efadd44eea9af2bd4ea5d9b6b5f6fd998408e4c (patch)
tree90d12930aa2e7dd0553d49716b2d92aebc7dedf4 /src/commands.h
parent620d7602a2c32973b33a079159f56f632bbd983d (diff)
downloadmv-6efadd44eea9af2bd4ea5d9b6b5f6fd998408e4c.tar.gz
mv-6efadd44eea9af2bd4ea5d9b6b5f6fd998408e4c.tar.bz2
mv-6efadd44eea9af2bd4ea5d9b6b5f6fd998408e4c.tar.xz
mv-6efadd44eea9af2bd4ea5d9b6b5f6fd998408e4c.zip
add chat command for uploading server config.xml
New chat command: /uploadserverconfig
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h
index 6c2101f42..e53d66559 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -131,6 +131,7 @@ namespace Commands
decHandler(talkRaw);
decHandler(talkPet);
decHandler(uploadConfig);
+ decHandler(uploadServerConfig);
decHandler(uploadLog);
void replaceVars(std::string &str);
@@ -230,6 +231,7 @@ enum
COMMAND_TALKRAW,
COMMAND_TALKPET,
COMMAND_UPLOADCONFIG,
+ COMMAND_UPLOADSERVERCONFIG,
COMMAND_UPLOADLOG,
COMMAND_HACK,
END_COMMANDS
@@ -329,6 +331,7 @@ static const CommandInfo commands[] =
{"talkraw", &Commands::talkRaw, -1, true},
{"talkpet", &Commands::talkPet, -1, true},
{"uploadconfig", &Commands::uploadConfig, -1, false},
+ {"uploadserverconfig", &Commands::uploadServerConfig, -1, false},
{"uploadlog", &Commands::uploadLog, -1, false},
{"hack", &Commands::hack, -1, true}
};