summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-11-14 11:50:55 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-11-14 11:50:55 +0000
commitb2a2b2dc1adca9f089c693b520978dc4dd0e70bf (patch)
treef8f5e507ca8ad28b9ea3363f073cc601d5e6c001 /src/conf.c
parentebb5967a19ee6abdd70a965ff8ca127df47f136f (diff)
- added improved match() stolen from ircu
- fixed compile warning in m_module.c git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1653 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index 765c47a..d7119db 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -1105,7 +1105,7 @@ find_matching_name_conf(enum maskitem_type type, const char *name, const char *u
if (EmptyString(conf->name))
continue;
- if ((name != NULL) && match_esc(conf->name, name))
+ if ((name != NULL) && !match(conf->name, name))
{
if ((user == NULL && (host == NULL)))
return conf;