X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fconfigreader.cpp;fp=src%2Fconfigreader.cpp;h=8a432e82f6a74f836038a4ebfdfb1627dd473196;hb=b9e11915a976daaf790ebc763aff56e19fd49e0f;hp=e607c6e7d72e635564cbbae5ab7cdf9b3d968b4e;hpb=f9fd78c01623514a060c607534fc52cb73140200;p=user%2Fhenk%2Fcode%2Finspircd.git 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)