summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 20:53:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 20:53:04 +0300
commit67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d (patch)
tree912d2741d258a32f966d5cbb984a5865a5492783 /src/actions/actions.cpp
parenta4077c474c370275442982965bb174b2e1e59422 (diff)
downloadmv-67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d.tar.gz
mv-67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d.tar.bz2
mv-67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d.tar.xz
mv-67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d.zip
Move chat command /dirs into actions.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp16
1 files changed, 16 insertions, 0 deletions
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