summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 16:32:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 16:32:44 +0300
commit60c983e043b9ec502b65785306887003f5bcb27b (patch)
treef563332745eea7bb17fa31046db74364e4183ad4 /src/actions/actions.cpp
parentde2e84a86c3419a41de594951c452e25dde60d86 (diff)
downloadmanaplus-60c983e043b9ec502b65785306887003f5bcb27b.tar.gz
manaplus-60c983e043b9ec502b65785306887003f5bcb27b.tar.bz2
manaplus-60c983e043b9ec502b65785306887003f5bcb27b.tar.xz
manaplus-60c983e043b9ec502b65785306887003f5bcb27b.zip
Move chat command /uploadlog 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 7eab1f928..8e2f3623b 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1155,4 +1155,13 @@ impHandler(uploadServerConfig)
return true;
}
+impHandler(uploadLog)
+{
+ uploadFile(_("Uploaded log into:"),
+ settings.logFileName,
+ "?txt",
+ event.tab);
+ return true;
+}
+
} // namespace Actions