From c815d74e7e0400a2af3d679cad5c42c61c2efe80 Mon Sep 17 00:00:00 2001 From: cheapie Date: Thu, 30 Jul 2015 22:11:18 -0500 Subject: Lower sensitivity --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 421b04d..50f3d07 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,5 @@ minetest.register_on_chat_message(function(name, message) - if message:len()>5 and message:lower()~=message and message:upper()==message then + if message:len()>16 and message:lower()~=message and message:upper()==message then minetest.kick_player(name,"Sending all-caps messages is not allowed") minetest.chat_send_all(string.format("* %s was kicked for sending an all-caps message.",name)) if minetest.get_modpath("irc") then irc:say(string.format("* %s was kicked for sending an all-caps message.",name)) end -- cgit v1.2.3