From ee5506ae2460e092ad741d74d29c7ac4ec939301 Mon Sep 17 00:00:00 2001 From: Yago Date: Tue, 10 Mar 2015 21:06:15 +0100 Subject: [PATCH] now - 60 no more --- bot/bot.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)