Remove unused function from ban lists

This commit is contained in:
Travis Ralston committed 2019-09-27 19:54:07 -06:00
1 parent 130e44abcf
commit 149cbcfbd2
1 file changed
-7
-7
View File
@@ -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;
}
}