From 8fa4bf7aefbbd48b5428e073178ef7b17cb79ce2 Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 17 Dec 2006 01:17:56 +0000 Subject: Fix a little = turned into a == git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6025 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configreader.cpp') 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 { -- cgit v1.3.1-10-gc9f91