From b4a174ee9c32d62ea6bf010e837e8c5b1c3d36a3 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 27 Apr 2021 16:36:40 +0100 Subject: Fix a bunch of weird indentation and spacing issues. --- src/configparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configparser.cpp') diff --git a/src/configparser.cpp b/src/configparser.cpp index 9f5a49f1d..32b705e8b 100644 --- a/src/configparser.cpp +++ b/src/configparser.cpp @@ -535,7 +535,7 @@ bool ConfigTag::readString(const std::string& key, std::string& value, bool allo if(j->first != key) continue; value = j->second; - if (!allow_lf && (value.find('\n') != std::string::npos)) + if (!allow_lf && (value.find('\n') != std::string::npos)) { ServerInstance->Logs->Log("CONFIG", LOG_DEFAULT, "Value of <" + tag + ":" + key + "> at " + getTagLocation() + " contains a linefeed, and linefeeds in this value are not permitted -- stripped to spaces."); -- cgit v1.2.3