diff options
author | Sadie Powell <sadie@witchery.services> | 2021-04-27 16:36:40 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-04-27 16:41:14 +0100 |
commit | b4a174ee9c32d62ea6bf010e837e8c5b1c3d36a3 (patch) | |
tree | 81327174fcc9df91ad7494e7b34829770caac727 /src/configparser.cpp | |
parent | 8a5a1c799e5bec875b081f70639156429d7847e3 (diff) |
Fix a bunch of weird indentation and spacing issues.
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r-- | src/configparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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."); |