This commit is contained in:
Evert Prants 2020-12-07 18:10:59 +02:00
parent ac912c0052
commit 8c7d5b1d52
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -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;
}