From bcdf86d7ff171e21772355d30735451c64a3fd1a Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 24 Mar 2015 19:33:06 +0000 Subject: [PATCH] i am not wise --- modules/words/words.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/words/words.js b/modules/words/words.js index 826ab76..b526f88 100644 --- a/modules/words/words.js +++ b/modules/words/words.js @@ -114,7 +114,7 @@ var words = function(dbot) { this.listener = function(event) { var matchOne = event.message.match(new RegExp(dbot.config.name + ': should (\\w+) (.+) or (.*)\\?', 'i')); if(matchOne) { - var pre = matcOneh[1]; + var pre = matchOne[1]; if(pre == 'i' || pre == 'I') { pre = 'You'; }