summaryrefslogtreecommitdiff
path: root/src/commands.cpp
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.cpp
parent620d7602a2c32973b33a079159f56f632bbd983d (diff)
downloadmanaverse-6efadd44eea9af2bd4ea5d9b6b5f6fd998408e4c.tar.gz
manaverse-6efadd44eea9af2bd4ea5d9b6b5f6fd998408e4c.tar.bz2
manaverse-6efadd44eea9af2bd4ea5d9b6b5f6fd998408e4c.tar.xz
manaverse-6efadd44eea9af2bd4ea5d9b6b5f6fd998408e4c.zip
add chat command for uploading server config.xml
New chat command: /uploadserverconfig
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 8ebcfd5fd..c0f719054 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1342,6 +1342,13 @@ impHandler0(uploadConfig)
"?xml");
}
+impHandler0(uploadServerConfig)
+{
+ uploadFile(_("Uploaded server config into:"),
+ serverConfig.getFileName(),
+ "?xml");
+}
+
impHandler0(uploadLog)
{
uploadFile(_("Uploaded log into:"),