From 67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 20:53:04 +0300 Subject: Move chat command /dirs into actions. --- src/actions/actions.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index a46e37347..65f6e366c 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -702,4 +702,20 @@ impHandler(undress) return true; } +impHandler0(dirs) +{ + if (!debugChatTab) + return false; + + debugChatTab->chatLog("config directory: " + + settings.configDir); + debugChatTab->chatLog("logs directory: " + + settings.localDataDir); + debugChatTab->chatLog("screenshots directory: " + + settings.screenshotDir); + debugChatTab->chatLog("temp directory: " + + settings.tempDir); + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2