From 149cbcfbd29da6c16146a2a843480144a0cafba2 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 27 Sep 2019 19:54:07 -0600 Subject: [PATCH] Remove unused function from ban lists --- src/models/BanList.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/models/BanList.ts b/src/models/BanList.ts index 66d642f7..b34bafc7 100644 --- a/src/models/BanList.ts +++ b/src/models/BanList.ts @@ -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; - } }