From 60c983e043b9ec502b65785306887003f5bcb27b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 16:32:44 +0300 Subject: Move chat command /uploadlog into actions. --- src/actions/actions.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/actions/actions.cpp') 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 -- cgit v1.2.3-70-g09d2