From 687f35d51c8aca2f78f7d61b93ddb4d37b7f27ff Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 25 Jan 2013 00:41:35 +0000 Subject: [PATCH] whoops --- modules/profile/pages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/profile/pages.js b/modules/profile/pages.js index 3288241..5217110 100644 --- a/modules/profile/pages.js +++ b/modules/profile/pages.js @@ -31,7 +31,7 @@ var pages = function(dbot) { // TODO: Clean up _.each(profiles, function(profile) { - if(_.has(dbot.db.quoteArrs, profile.profile.primary)) { + if(_.has(dbot.db.quoteArrs, profile.profile.primary) && !profile.profile.avatar) { var category = dbot.db.quoteArrs[profile.profile.primary]; var avatar = _.find(category, function(quote) { return quote.match(/(\.jpg|\.png|\.jpeg)$/i);