diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-17 11:11:22 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-17 11:11:22 +0200 |
commit | bbcd2495444225fd16f61f8a830185ed5b8cf77f (patch) | |
tree | adbf984c13414abd959b23022ca8b8f5a0916972 /clientmods/dragonfire/chat/spam.lua | |
parent | 80f416d51449ffc6907f7e2b6d1ef935abee5611 (diff) | |
download | dragonfireclient-bbcd2495444225fd16f61f8a830185ed5b8cf77f.tar.xz |
New Mod System
Diffstat (limited to 'clientmods/dragonfire/chat/spam.lua')
-rw-r--r-- | clientmods/dragonfire/chat/spam.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/clientmods/dragonfire/chat/spam.lua b/clientmods/dragonfire/chat/spam.lua deleted file mode 100644 index 991846d33..000000000 --- a/clientmods/dragonfire/chat/spam.lua +++ /dev/null @@ -1,12 +0,0 @@ -local etime = 0 - -minetest.register_globalstep(function(dtime) - etime = etime + dtime - if etime < 10/8 then return end - etime = 0 - local spam = minetest.settings:get("chat_spam") - local enable_spam = minetest.settings:get("chat_enable_spam") - if enable_spam and spam then - local _ = chat.send(spam) or minetest.send_chat_message(spam) - end -end) |