From 2e8d25aea46459ea39add71f8e24b28f691528db Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 24 Jan 2013 10:06:56 +0000 Subject: [PATCH] i am retard --- modules/link/link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/link/link.js b/modules/link/link.js index f3f39aa..dfe5f70 100644 --- a/modules/link/link.js +++ b/modules/link/link.js @@ -39,7 +39,7 @@ var link = function(dbot) { request(reqUrl, function(error, response, body) { var result = JSON.parse(body); if(_.has(result, 'result_type') && result.result_type != 'no_results') { - event.reply(query + ': ' + result.list[0].definition.split('\n')[0]; + event.reply(query + ': ' + result.list[0].definition.split('\n')[0]); } else { event.reply(event.user + ': No definition found.'); }