let's try this again...*without* CVS substituting part of my sed lines!
[ircu2.10.12-pk.git] / ircd / match.c
index 1715b539458b12ea3f1f9e87dc88fdb55eb9de58..27edc2660bae5dd2e329f9a4242583ffec01c1ed 100644 (file)
@@ -206,7 +206,7 @@ int match(const char *mask, const char *name)
     m++;
     /* allow escaping to force capitalization */
     if (*m++ != *n++)
-      return 1;
+      goto backtrack;
     break;
   case '*': case '?':
     for (star_p = 0; ; m++) {