projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Author: Entrope <mdpoole@troilus.org>
[ircu2.10.12-pk.git]
/
ircd
/
match.c
diff --git
a/ircd/match.c
b/ircd/match.c
index 27edc2660bae5dd2e329f9a4242583ffec01c1ed..b585053c795348900039553fae8c29f037fea525 100644
(file)
--- 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++;