forked from GitHub/dbot
whoops
This commit is contained in:
parent
dff1e21921
commit
687f35d51c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user