mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-10-22 17:11:17 +00:00
Remove unused function from ban lists
This commit is contained in:
1 parent
130e44abcf
commit
149cbcfbd2
1 file changed
-7
@@ -86,11 +86,4 @@ export default class BanList {
|
||||
this.rules.push(new ListRule(entity, recommendation, reason, kind));
|
||||
}
|
||||
}
|
||||
|
||||
public getRuleFor(entity: string): ListRule {
|
||||
for (const rule of this.rules) {
|
||||
if (rule.isMatch(entity)) return rule;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user