X-Git-Url: https://jfr.im/git/irc/quakenet/snircd.git/blobdiff_plain/052b069e1613393c208fa736c856d62601dc6f99..9f8856e99d8fe297de1ddf0cff73dc2ff4900c60:/ircd/match.c diff --git a/ircd/match.c b/ircd/match.c index d14fff6..45fb75e 100644 --- a/ircd/match.c +++ b/ircd/match.c @@ -18,7 +18,7 @@ */ /** @file * @brief Functions to match strings against IRC mask strings. - * @version $Id: match.c,v 1.20 2005/09/12 03:40:17 entrope Exp $ + * @version $Id: match.c,v 1.20.2.1 2006/02/16 03:16:19 entrope Exp $ */ #include "config.h" @@ -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++) {