From 047ed35f83bf0dbacb2cd528561cdb5c5b0edadc Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sun, 30 Nov 2014 03:59:19 +0000 Subject: [PATCH] Update words.js --- 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 f04fa22..a87a247 100644 --- a/modules/words/words.js +++ b/modules/words/words.js @@ -65,7 +65,7 @@ var words = function(dbot) { if(!err && word) { this.wn.definitions(encodeURIComponent(word.word), function(err, defs) { if(!err && defs[0]) { - if(defs[0].text.match(/plural/i)) { + if(!defs[0].text.match(/plural/i)) { event.reply(dbot.t('def', { 'word': word.word, 'definition': defs[0].text