hotfix
This commit is contained in:
parent
ac912c0052
commit
8c7d5b1d52
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user