now - 60 no more

This commit is contained in:
Yago 2015-03-10 21:06:15 +01:00
parent b07e3a5de1
commit ee5506ae24

View File

@ -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)
math.randomseed(now)