diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-11 19:26:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-11 19:26:19 +0000 |
commit | fad263cd933b15ee180ed27edf8001938c782c13 (patch) | |
tree | 75859d84acd82249875690689ccedf14e3160b44 /src | |
parent | 0f8b11bc03d37e7ca495be5ea81cb85b84cf4a28 (diff) |
Our optimizations missed a possibility :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3166 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/wildcard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wildcard.cpp b/src/wildcard.cpp index 1b1f874ab..3b95b5f75 100644 --- a/src/wildcard.cpp +++ b/src/wildcard.cpp @@ -39,7 +39,7 @@ int wildcmp(char *wild, char *string) char *cp, *mp; while ((*string) && (*wild != '*')) { - if ((*wild != *string) && (*wild != '?')) + if ((lowermap[(unsigned)*wild] != lowermap[(unsigned)*string]) && (*wild != '?')) { return 0; } |