From 8c7d5b1d520a95699da05054aca93531db104813 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Mon, 7 Dec 2020 18:10:59 +0200 Subject: [PATCH] hotfix --- src/common/full-matcher.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/full-matcher.ts b/src/common/full-matcher.ts index ab03966..8734eea 100644 --- a/src/common/full-matcher.ts +++ b/src/common/full-matcher.ts @@ -23,11 +23,11 @@ export function fullIDMatcher(compare: string, id: string): boolean { // Match server cases, things like Discord need this if (spl.length > 3 && spl[2].indexOf('s:') === 0 && splitter.length > 3) { - if (spl[2] !== splitter[3] && spl[2] !== '*') { + if (spl[2] !== splitter[2] && spl[2] !== '*') { return false; } - if (spl[3] !== splitter[2] && spl[3] !== '*') { + if (spl[3] !== splitter[3] && spl[3] !== '*') { return false; }