summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
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;