fix(quests): temporarily send error email on questStart (if already

started), see #3451. Revert later
This commit is contained in:
Tyler Renelle 2014-05-14 10:29:14 -06:00
parent 9a4e8d38b4
commit 35ef88c6c0

View file

@ -490,7 +490,9 @@ questStart = function(req, res, next) {
var group = res.locals.group;
var force = req.query.force;
if (group.quest.active) return res.json(400,{err:'Quest already began.'});
// if (group.quest.active) return res.json(400,{err:'Quest already began.'});
// temporarily send error email, until we know more about this issue (then remove below, uncomment above).
if (group.quest.active) return next('Quest already began.');
group.markModified('quest');