diff options
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index d500a0fbd..4803fdb7d 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -340,7 +340,7 @@ void ServerConfig::Fill() // Read the <security> config. const auto& security = ConfValue("security"); CustomVersion = security->getString("customversion"); - HideBans = security->getBool("hidebans"); + HideLines = security->getString("hidelines", security->getBool("hidebans") ? "%type%-lined" : ""); HideServer = security->getString("hideserver", {}, InspIRCd::IsFQDN); MaxTargets = security->getNum<unsigned long>("maxtargets", 5, 1, 50); |
