summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-26 22:05:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-26 22:05:50 +0300
commit620d7602a2c32973b33a079159f56f632bbd983d (patch)
tree4d01d1a8d13cf6b9957ece3f66cedbc61f8f59a0 /src/commands.cpp
parent5889bd94d241b8454268804861a67c79315a7731 (diff)
downloadplus-620d7602a2c32973b33a079159f56f632bbd983d.tar.gz
plus-620d7602a2c32973b33a079159f56f632bbd983d.tar.bz2
plus-620d7602a2c32973b33a079159f56f632bbd983d.tar.xz
plus-620d7602a2c32973b33a079159f56f632bbd983d.zip
add chat command for uploading log file.
New chat command: /uploadlog
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 ee41b04d0..8ebcfd5fd 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1342,6 +1342,13 @@ impHandler0(uploadConfig)
"?xml");
}
+impHandler0(uploadLog)
+{
+ uploadFile(_("Uploaded log into:"),
+ client->getLogFileName(),
+ "?txt");
+}
+
impHandler0(testsdlfont)
{
#if defined USE_OPENGL && defined DEBUG_SDLFONT