From e0c2ec36f82ba013213afb4b69114fea6ee818bb Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 27 Dec 2013 16:35:42 +0000 Subject: [PATCH] syntax is important --- modules/words/words.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/words/words.js b/modules/words/words.js index b7eab52..6acd36e 100644 --- a/modules/words/words.js +++ b/modules/words/words.js @@ -17,7 +17,8 @@ var words = function(dbot) { var query = event.params[1]; this.wn.etymologies(encodeURIComponent(query), function(err, defs) { if(!err && defs[0]) { - event.reply(query + ' etymology: ' + defs[0].replace(/<\/?[^>]+(>|$)/g, ""); + event.reply(query + ' etymology: ' + + defs[0].replace(/<\/?[^>]+(>|$)/g, "")); } else { event.reply('No etymology found for ' + query); }