]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configreader.cpp
Removed a pointless check in ./configure --clean that made it only work with one...
[user/henk/code/inspircd.git] / src / configreader.cpp
index 144c0f0a821fa1192b215dbc0d0b2ad2f8785a70..79c2119c66909c2bff8bb5fe5831f5e3f4bd0308 100644 (file)
@@ -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
                                {