summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 16:26:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 16:26:22 +0300
commitde2e84a86c3419a41de594951c452e25dde60d86 (patch)
treea791b7d043b1e1574d76cd7d64c34e1afa2b48ed /src/actions/actions.cpp
parentd69abc43187ded70dce586d793a4dc1dbcd1010d (diff)
downloadmv-de2e84a86c3419a41de594951c452e25dde60d86.tar.gz
mv-de2e84a86c3419a41de594951c452e25dde60d86.tar.bz2
mv-de2e84a86c3419a41de594951c452e25dde60d86.tar.xz
mv-de2e84a86c3419a41de594951c452e25dde60d86.zip
Move chat command /uploadserverconfig into actions.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 8406f236e..7eab1f928 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1146,4 +1146,13 @@ impHandler(uploadConfig)
return true;
}
+impHandler(uploadServerConfig)
+{
+ uploadFile(_("Uploaded server config into:"),
+ serverConfig.getFileName(),
+ "?xml",
+ event.tab);
+ return true;
+}
+
} // namespace Actions