From 5644675b7491c62fad7a41cc64ec60f9cca28e5b Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 27 Feb 2014 01:40:50 +0000 Subject: [PATCH] double whoops --- modules/goodreads/goodreads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/goodreads/goodreads.js b/modules/goodreads/goodreads.js index e0e9225..800d474 100644 --- a/modules/goodreads/goodreads.js +++ b/modules/goodreads/goodreads.js @@ -130,7 +130,7 @@ var goodreads = function(dbot) { if(event.rProfile && _.has(event.rProfile, 'goodreads')) { if(event.params[1]) { this.internalAPI.getGoodreads(event.server, event.params[1], function(user, gr) { - if(user && lfm) { + if(user && gr) { event.res.push({ 'user': user, 'gr': gr