summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ce4cd081b..83147d34c 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2053,7 +2053,7 @@ void Client::initConfigDir()
* Initializes the home directory. On UNIX and FreeBSD, ~/.mana is used. On
* Windows and other systems we use the current working directory.
*/
-void Client::initServerConfig(std::string serverName)
+void Client::initServerConfig(const std::string &serverName)
{
mServerConfigDir = mConfigDir + dirSeparator + serverName;