forked from MineClone5/MineClone5
Decrease spam activity reset interval from 300 to 30 s
This commit is contained in:
parent
033573ad63
commit
3a7363f11d
|
@ -57,7 +57,7 @@ local function on_chat_message(name, message)
|
||||||
last_messages.count = 1
|
last_messages.count = 1
|
||||||
last_messages.summary_length = length
|
last_messages.summary_length = length
|
||||||
end
|
end
|
||||||
last_messages.job = minetest.after(300, function()
|
last_messages.job = minetest.after(30, function()
|
||||||
last_messages.name = nil
|
last_messages.name = nil
|
||||||
last_messages.job = nil
|
last_messages.job = nil
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue