From 9ff8e48276d0aeda2643fba0c36f6c63a070522b Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 9 Dec 2013 15:42:20 +0200 Subject: [PATCH] quota: Fix to previous wildcard change --- src/plugins/quota/quota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/quota/quota.c b/src/plugins/quota/quota.c index 89310be382..778433296a 100644 --- a/src/plugins/quota/quota.c +++ b/src/plugins/quota/quota.c @@ -385,7 +385,7 @@ quota_root_rule_find(struct quota_root_settings *root_set, const char *name) struct quota_rule *rule; array_foreach_modifiable(&root_set->rules, rule) { - if (wildcard_match(name, rule->mailbox_mask) == 0) + if (wildcard_match(name, rule->mailbox_mask)) return rule; } return NULL; -- 2.47.3