]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/hashcomp.cpp
Add $ModDep: special comment, similar to $CompileFlags and $LinkerFlags.
[user/henk/code/inspircd.git] / src / hashcomp.cpp
index 0908e41b5a318d52c46925b953b44c4e945173a1..e004940410c6860dd4531ce3c1f49d785cc76219 100644 (file)
@@ -217,6 +217,11 @@ const std::string irc::tokenstream::GetToken()
 
        while (n != tokens.end())
        {
+               /** Skip multi space, converting "  " into " "
+                */
+               while ((n+1 != tokens.end()) && (*n == ' ') && (*(n+1) == ' '))
+                       n++;
+
                if ((last_pushed) && (*n == ':'))
                {
                        /* If we find a token thats not the first and starts with :,