summaryrefslogtreecommitdiff
path: root/src/resv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/resv.c')
-rw-r--r--src/resv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resv.c b/src/resv.c
index 880444f..d83ec75 100644
--- a/src/resv.c
+++ b/src/resv.c
@@ -150,7 +150,7 @@ match_find_resv(const char *name)
{
struct MaskItem *conf = ptr->data;
- if (match_chan(name, conf->name))
+ if (!match(name, conf->name))
return conf;
}