diff --git a/lib/autoreply.js b/lib/autoreply.js index 1c367221..0d0c9626 100644 --- a/lib/autoreply.js +++ b/lib/autoreply.js @@ -16,10 +16,10 @@ module.exports = (options, callback) => { db.database.collection('autoreplies').findOne({ user: options.userData._id, start: { - $gte: curtime + $lte: curtime }, end: { - $lte: curtime + $gte: curtime } }, (err, autoreply) => { if (err) {