Correct typo; didn't cause errors but best to fix it anyways
This commit is contained in:
parent
b82b5289f1
commit
f482a4e3b8
|
@ -2562,7 +2562,7 @@ Channel.prototype.validateEmote = function (f) {
|
|||
f.source = s;
|
||||
|
||||
try {
|
||||
new RegExp(f.regex, "gi");
|
||||
new RegExp(f.source, "gi");
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue