]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configparser.cpp
Change 2.0 cloak function to use variable-length segments
[user/henk/code/inspircd.git] / src / configparser.cpp
index 4a0c9b58da3dcd76ff604036f7acfe54f2721dd9..6b1b47e6de10f8417c41437e8a5ebe0d97245174 100644 (file)
@@ -76,7 +76,7 @@ struct Parser
                int ch = next();
                while (isspace(ch))
                        ch = next();
-               while (isalnum(ch) || ch == '_')
+               while (isalnum(ch) || ch == '_'|| ch == '-')
                {
                        rv.push_back(ch);
                        ch = next();