summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-12-06 18:56:47 -0600
committercheapie <no-email-for-you@example.com>2024-12-06 18:56:47 -0600
commitd19339aa97478ca71cbb1b3138dbbafc91f145fe (patch)
treeb8030bf5619d87758693d0ddf296dd600e72a651 /init.lua
parentfed283a19bd1fcf988fd01b8728aeb43078c64f6 (diff)
downloadchat6-d19339aa97478ca71cbb1b3138dbbafc91f145fe.tar
chat6-d19339aa97478ca71cbb1b3138dbbafc91f145fe.tar.gz
chat6-d19339aa97478ca71cbb1b3138dbbafc91f145fe.tar.bz2
chat6-d19339aa97478ca71cbb1b3138dbbafc91f145fe.tar.xz
chat6-d19339aa97478ca71cbb1b3138dbbafc91f145fe.zip
Various updates over timeHEADmaster
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 5bcd757..5ff62ed 100644
--- a/init.lua
+++ b/init.lua
@@ -84,6 +84,7 @@ end
minetest.register_on_receiving_chat_message(function(message)
message = minetest.strip_colors(message)
+ if string.sub(message,1,8) == "|#main| " then message = string.sub(message,9,-1) end
local msgtype
local user
local text