summaryrefslogtreecommitdiff
path: root/imp.ha
diff options
context:
space:
mode:
Diffstat (limited to 'imp.ha')
-rw-r--r--imp.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/imp.ha b/imp.ha
index d9ed16e..378fe73 100644
--- a/imp.ha
+++ b/imp.ha
@@ -173,7 +173,7 @@ fn isfiltered(acc: account, f: filter) bool = {
};
};
for (let i = 0z; i < len(f.groups); i += 1) {
- if (strings::compare(f.groups[i], acc.group) == 0) {
+ if (strings::hasprefix(acc.group, f.groups[i])) {
return true;
};
};