diff options
| author | 2021-05-11 03:53:43 +0100 | |
|---|---|---|
| committer | 2021-05-11 04:07:45 +0100 | |
| commit | 3ca912ad71cdc4004401e0977be73c674bb91fbc (patch) | |
| tree | cf57b43229becfc3d9c8532a2d4f18f095f024ec /src/configparser.cpp | |
| parent | Optimise building the link data string. (diff) | |
| parent | Send ERR_BADCHANMASK when trying to OJOIN/SAJOIN an invalid channel. (diff) | |
Merge branch 'insp3' into master.
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 2d173d650..7c0cb7f4e 100644 --- a/src/configparser.cpp +++ b/src/configparser.cpp @@ -491,7 +491,7 @@ bool ConfigTag::readString(const std::string& key, std::string& value, bool allo continue; value = ivalue; - 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 <" + name + ":" + key + "> at " + source.str() + " contains a linefeed, and linefeeds in this value are not permitted -- stripped to spaces."); |
