diff options
| author | Julian Hurst <julian.hurst92@gmail.com> | 2022-06-23 21:53:33 +0200 |
|---|---|---|
| committer | Julian Hurst <julian.hurst92@gmail.com> | 2022-06-23 21:53:33 +0200 |
| commit | 9fb207cc81aafd4c3ef6fa3fe1c265a05f46c24e (patch) | |
| tree | 43edf0014e0c8101438128288e492e585a21ca7f /imp.ha | |
| parent | 881af93c63b4736d0f1f1ab543c383532caaf3ae (diff) | |
| download | imp-9fb207cc81aafd4c3ef6fa3fe1c265a05f46c24e.tar.gz | |
Fix group filter not matching subgroups
Diffstat (limited to 'imp.ha')
| -rw-r--r-- | imp.ha | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; }; }; |
