summaryrefslogtreecommitdiff
path: root/src/chatlog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chatlog.cpp')
-rw-r--r--src/chatlog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chatlog.cpp b/src/chatlog.cpp
index 1c43b403..d45bea22 100644
--- a/src/chatlog.cpp
+++ b/src/chatlog.cpp
@@ -150,8 +150,7 @@ void ChatLogger::setServerName(const std::string &serverName)
{
mServerName = serverName;
if (mServerName == "")
- mServerName = config.getValue("MostUsedServerName0",
- "server.themanaworld.org");
+ mServerName = config.getStringValue("MostUsedServerName0");
if (mLogFile.is_open())
mLogFile.close();