summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
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