diff --git a/bot/bot.lua b/bot/bot.lua index 409fea5..2396afa 100644 --- a/bot/bot.lua +++ b/bot/bot.lua @@ -34,7 +34,7 @@ function msg_valid(msg) print("Not valid, msg from us") return false end - if msg.date < (now - 60) then + if msg.date < now then print("Not valid, old msg") return false end @@ -219,4 +219,4 @@ end -- Start and load values our_id = 0 now = os.time() -math.randomseed(now) \ No newline at end of file +math.randomseed(now)