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")
|
||||
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)
|
||||
|
Reference in New Issue
Block a user