From f482a4e3b8bf8f9e4b14881728a95c8e17fae484 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 27 Mar 2014 10:11:50 -0500 Subject: [PATCH] Correct typo; didn't cause errors but best to fix it anyways --- lib/channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/channel.js b/lib/channel.js index 3ce50eee..4a8e9505 100644 --- a/lib/channel.js +++ b/lib/channel.js @@ -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; }