From 72afc1ca0a772857dafd60fb57dafcb2e1a78deb Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sun, 30 Nov 2014 03:58:22 +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 5969d6d..f04fa22 100644 --- a/modules/words/words.js +++ b/modules/words/words.js @@ -71,7 +71,7 @@ var words = function(dbot) { 'definition': defs[0].text })); } else { - this.commands['rw'](event); + dbot.commands['rw'](event); } } else { event.reply(dbot.t('no_def', { 'word': query }));