aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2016-08-17 12:49:48 +0200
committerGravatar Attila Molnar2016-08-17 12:49:48 +0200
commitb9e11915a976daaf790ebc763aff56e19fd49e0f (patch)
tree7c69dc9427a8a0470ff12f772846b956e747bf78 /src/configreader.cpp
parentcore_hostname_lookup: find answer record of the correct type instead of assum... (diff)
parentRelease v2.0.22 (diff)
Merge insp20
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index e607c6e7d..8a432e82f 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -409,6 +409,7 @@ void ServerConfig::Fill()
HideBans = security->getBool("hidebans");
HideWhoisServer = security->getString("hidewhois");
HideKillsServer = security->getString("hidekills");
+ HideULineKills = security->getBool("hideulinekills");
RestrictBannedUsers = security->getBool("restrictbannedusers", true);
GenericOper = security->getBool("genericoper");
SyntaxHints = options->getBool("syntaxhints");
@@ -567,7 +568,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid)
// write once here, to try it out and make sure its ok
if (valid)
- ServerInstance->WritePID(this->PID);
+ ServerInstance->WritePID(this->PID, !old);
ConfigTagList binds = ConfTags("bind");
if (binds.first == binds.second)