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({
user: options.userData._id,
start: {
$gte: curtime
$lte: curtime
},
end: {
$lte: curtime
$gte: curtime
}
}, (err, autoreply) => {
if (err) {