updated autoreply

This commit is contained in:
Andris Reinman 2017-11-15 16:24:03 +02:00
parent 77d3c2bc92
commit e915418eaa

View file

@ -16,10 +16,10 @@ module.exports = (options, callback) => {
db.database.collection('autoreplies').findOne({ db.database.collection('autoreplies').findOne({
user: options.userData._id, user: options.userData._id,
start: { start: {
$gte: curtime $lte: curtime
}, },
end: { end: {
$lte: curtime $gte: curtime
} }
}, (err, autoreply) => { }, (err, autoreply) => {
if (err) { if (err) {