Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
fixed bug in mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Dec 22, 2013
1 parent d8faabd commit 7d8c141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailer.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ var send = function(err) {
}

module.exports.send = function(what, price, meta) {
if (!config.mail.what || -1 == config.mail.what.indexOf(what))
if (!_.contains(config.what, what))
return;

var text = [
Expand Down

0 comments on commit 7d8c141

Please sign in to comment.