diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 20:53:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 20:53:04 +0300 |
commit | 67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d (patch) | |
tree | 912d2741d258a32f966d5cbb984a5865a5492783 /src/actions/actions.cpp | |
parent | a4077c474c370275442982965bb174b2e1e59422 (diff) | |
download | manaplus-67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d.tar.gz manaplus-67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d.tar.bz2 manaplus-67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d.tar.xz manaplus-67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d.zip |
Move chat command /dirs into actions.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 16 |
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 |