]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/wildcard.cpp
Move this to another (yet more appropriate) place, saves some syscalls in an unlikely...
[user/henk/code/inspircd.git] / src / wildcard.cpp
index 2a2c6ad520432fcbbcd217819311f320239e7680..b49ba943a6bc0d18f95fcd34c4417002fb6dd64f 100644 (file)
@@ -40,7 +40,7 @@ static bool match_internal(const unsigned char *string, const unsigned char *wil
                return false;
 
        if (!map)
-               map = lowermap;
+               map = rfc_case_insensitive_map;
 
        while (*string)
        {
@@ -62,9 +62,7 @@ static bool match_internal(const unsigned char *string, const unsigned char *wil
                                        {
                                                string = s;
                                                if (*(wild+1) || !*(s+1))
-                                               {
                                                        wild++;
-                                               }
                                                break;
                                        }
                                        s++;