summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 711806021..46efeffbd 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -31,6 +31,7 @@
#include "guildmanager.h"
#include "main.h"
#include "party.h"
+#include "settings.h"
#include "being/localplayer.h"
#include "being/playerrelations.h"
@@ -869,13 +870,13 @@ impHandler0(dirs)
return;
debugChatTab->chatLog("config directory: "
- + client->getConfigDirectory());
+ + settings.configDir);
debugChatTab->chatLog("logs directory: "
- + client->getLocalDataDirectory());
+ + settings.localDataDir);
debugChatTab->chatLog("screenshots directory: "
- + client->getScreenshotDirectory());
+ + settings.screenshotDir);
debugChatTab->chatLog("temp directory: "
- + client->getTempDirectory());
+ + settings.tempDir);
}
impHandler2(info)
@@ -1371,7 +1372,7 @@ impHandler2(uploadServerConfig)
impHandler2(uploadLog)
{
uploadFile(_("Uploaded log into:"),
- client->getLogFileName(),
+ settings.logFileName,
"?txt",
tab);
}