diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-26 21:45:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-26 22:01:51 +0300 |
commit | 5889bd94d241b8454268804861a67c79315a7731 (patch) | |
tree | b37aaec28083110308fbbc5fa3a2c4bb07ce2ed7 /src/commands.h | |
parent | bae784c3718b2d28bef80ef57f23c47cc4342c64 (diff) | |
download | plus-5889bd94d241b8454268804861a67c79315a7731.tar.gz plus-5889bd94d241b8454268804861a67c79315a7731.tar.bz2 plus-5889bd94d241b8454268804861a67c79315a7731.tar.xz plus-5889bd94d241b8454268804861a67c79315a7731.zip |
add chat command for uploading main config.xml
New chat command: /uploadconfig
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h index 37e4b8215..1a28f9fa7 100644 --- a/src/commands.h +++ b/src/commands.h @@ -130,6 +130,7 @@ namespace Commands decHandler(createItems); decHandler(talkRaw); decHandler(talkPet); + decHandler(uploadConfig); void replaceVars(std::string &str); } // namespace Commands @@ -227,6 +228,7 @@ enum COMMAND_CREATEITEMS, COMMAND_TALKRAW, COMMAND_TALKPET, + COMMAND_UPLOADCONFIG, COMMAND_HACK, END_COMMANDS }; @@ -324,6 +326,7 @@ static const CommandInfo commands[] = {"createitems", &Commands::createItems, -1, false}, {"talkraw", &Commands::talkRaw, -1, true}, {"talkpet", &Commands::talkPet, -1, true}, + {"uploadconfig", &Commands::uploadConfig, -1, false}, {"hack", &Commands::hack, -1, true} }; |