diff options
author | cheapie <no-email-for-you@example.com> | 2015-07-30 22:11:18 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2015-07-30 22:11:18 -0500 |
commit | c815d74e7e0400a2af3d679cad5c42c61c2efe80 (patch) | |
tree | 3b019ae24648b89e470fcf64614268885c72dba6 | |
parent | d9bf531c22a8d4de6778d75a8126bccc3889b6f8 (diff) | |
download | dropthecaps-c815d74e7e0400a2af3d679cad5c42c61c2efe80.tar dropthecaps-c815d74e7e0400a2af3d679cad5c42c61c2efe80.tar.gz dropthecaps-c815d74e7e0400a2af3d679cad5c42c61c2efe80.tar.bz2 dropthecaps-c815d74e7e0400a2af3d679cad5c42c61c2efe80.tar.xz dropthecaps-c815d74e7e0400a2af3d679cad5c42c61c2efe80.zip |
Lower sensitivity
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |