X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fmatch.c;h=b585053c795348900039553fae8c29f037fea525;hp=27edc2660bae5dd2e329f9a4242583ffec01c1ed;hb=a322aa5b01bd87d6538ec7071bc90107ff340efa;hpb=74de0986e40ba8bf85d71e4b574aa6a109a08c10 diff --git a/ircd/match.c b/ircd/match.c index 27edc26..b585053 100644 --- a/ircd/match.c +++ b/ircd/match.c @@ -201,6 +201,8 @@ int match(const char *mask, const char *name) return 1; m = m_tmp; n = ++n_tmp; + if (*n == '\0') + return 1; break; case '\\': m++;