summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 144c0f0a8..79c2119c6 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1314,7 +1314,7 @@ bool ServerConfig::ConfValue(ConfigDataHash &target, const std::string &tag, con
ServerInstance->Log(DEFAULT, "Value of <" + tag + ":" + var+ "> contains a linefeed, and linefeeds in this value are not permitted -- stripped to spaces.");
for (std::string::iterator n = j->second.begin(); n != j->second.end(); n++)
if (*n == '\n')
- *n == ' ';
+ *n = ' ';
}
else
{