]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configparser.cpp
Be consistent with Robby's qQ snomask changes
[user/henk/code/inspircd.git] / src / configparser.cpp
index 056ed54a4b3e5fb019d88122f1359c4fee06e448..51d67b4f5be84357d9cb89bde65a1498a6a459b7 100644 (file)
@@ -319,7 +319,7 @@ void ParseStack::DoReadFile(const std::string& key, const std::string& name, int
        {
                int len = strlen(linebuf);
                if (len)
-                       cache.push_back(std::string(linebuf, len - 1));
+                       cache.push_back(std::string(linebuf, len));
        }
 }