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

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