now - 60 no more
This commit is contained in:
parent
b07e3a5de1
commit
ee5506ae24
@ -34,7 +34,7 @@ function msg_valid(msg)
|
|||||||
print("Not valid, msg from us")
|
print("Not valid, msg from us")
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
if msg.date < (now - 60) then
|
if msg.date < now then
|
||||||
print("Not valid, old msg")
|
print("Not valid, old msg")
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
@ -219,4 +219,4 @@ end
|
|||||||
-- Start and load values
|
-- Start and load values
|
||||||
our_id = 0
|
our_id = 0
|
||||||
now = os.time()
|
now = os.time()
|
||||||
math.randomseed(now)
|
math.randomseed(now)
|
||||||
|
Reference in New Issue
Block a user