Correct typo; didn't cause errors but best to fix it anyways

This commit is contained in:
calzoneman 2014-03-27 10:11:50 -05:00
parent b82b5289f1
commit f482a4e3b8
1 changed files with 1 additions and 1 deletions

View File

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