Decrease spam activity reset interval from 300 to 30 s

This commit is contained in:
kay27 2022-04-22 23:14:39 +03:00
parent 033573ad63
commit 3a7363f11d
1 changed files with 1 additions and 1 deletions

View File

@ -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)