summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-29 18:14:17 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-29 18:14:17 +0300
commit9327a603fcc3c1b3ff91ae21e478094b30a32f7f (patch)
treedf7a6c4cf2b0306b3c75a486c61881697bfc552a /src/client.cpp
parente70d551884c0e11408176086a25d359987090003 (diff)
downloadplus-9327a603fcc3c1b3ff91ae21e478094b30a32f7f.tar.gz
plus-9327a603fcc3c1b3ff91ae21e478094b30a32f7f.tar.bz2
plus-9327a603fcc3c1b3ff91ae21e478094b30a32f7f.tar.xz
plus-9327a603fcc3c1b3ff91ae21e478094b30a32f7f.zip
Fix per server config default values.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 5f79176c7..0324bb8cc 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1697,6 +1697,7 @@ void Client::initServerConfig(std::string serverName)
{
fclose(configFile);
serverConfig.init(configPath);
+ serverConfig.setDefaultValues(getConfigDefaults());
logger->log("serverConfigPath: " + configPath);
}
initPacketLimiter();