Skip to content

Commit

Permalink
Bugfix - Closes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
MeLlamoPablo committed Jan 4, 2017
1 parent 47b9050 commit 73f1f49
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/commands/general/confirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ module.exports = new Clapp.Command({
return el.attends;
}) : [];

if (attendanceConfirms.length < event.limit) {
// Don't let people confirm yes if the event is full, but do let
// people confirm no even if the event is full.
if (
attendanceConfirms.length < event.limit
&& argv.args.attendance === "yes"
) {
db.confirms.add(
event,
context.msg.author,
Expand Down

0 comments on commit 73f1f49

Please sign in to comment.