]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configparser.cpp
Fix a bunch of weird indentation and spacing issues.
[user/henk/code/inspircd.git] / src / configparser.cpp
index 9f5a49f1daffc65d401304f36803fb982d268a3d..32b705e8b666a8e98228d3d44616f774ce727606 100644 (file)
@@ -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.");