diff --git a/util/karma.js b/util/karma.js index d8ee497..03845ce 100644 --- a/util/karma.js +++ b/util/karma.js @@ -73,7 +73,7 @@ module.exports.run = () => { } else if (awards[reaction.emoji.id]) { let award = awards[reaction.emoji.id]; - let noTimeout = (timeouts[user.id] && timeouts[user.id] < Date.now()); + let noTimeout = (!timeouts[user.id] || timeouts[user.id] < Date.now()); let perms = message.channel.permissionsFor(user.id); if (!perms.has('SEND_MESSAGES') || !perms.has('ADD_REACTIONS')) { logger.warn(`${user.tag} => Ignoring reaction in #${message.channel.name}: User is missing permission`);