summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2015-07-30 22:11:18 -0500
committercheapie <no-email-for-you@example.com>2015-07-30 22:11:18 -0500
commitc815d74e7e0400a2af3d679cad5c42c61c2efe80 (patch)
tree3b019ae24648b89e470fcf64614268885c72dba6
parentd9bf531c22a8d4de6778d75a8126bccc3889b6f8 (diff)
downloaddropthecaps-c815d74e7e0400a2af3d679cad5c42c61c2efe80.tar
dropthecaps-c815d74e7e0400a2af3d679cad5c42c61c2efe80.tar.gz
dropthecaps-c815d74e7e0400a2af3d679cad5c42c61c2efe80.tar.bz2
dropthecaps-c815d74e7e0400a2af3d679cad5c42c61c2efe80.tar.xz
dropthecaps-c815d74e7e0400a2af3d679cad5c42c61c2efe80.zip
Lower sensitivity
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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