forked from Galactic/galactic-bot
bugfix
This commit is contained in:
parent
7a06e8c32e
commit
93885114a9
@ -211,7 +211,7 @@ module.exports = class FilterUtility {
|
|||||||
i--;
|
i--;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.REGEX.link.test(words[i])) continue;
|
if (this.REGEX.link.test(words[i]) || !words[i]) continue;
|
||||||
|
|
||||||
const letters = words[i].split('');
|
const letters = words[i].split('');
|
||||||
for (let j = 1; j < letters.length - 1; j++) {
|
for (let j = 1; j < letters.length - 1; j++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user