summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--depends.txt0
-rw-r--r--init.lua1
-rw-r--r--mod.conf1
3 files changed, 2 insertions, 0 deletions
diff --git a/depends.txt b/depends.txt
deleted file mode 100644
index e69de29..0000000
--- a/depends.txt
+++ /dev/null
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
diff --git a/mod.conf b/mod.conf
new file mode 100644
index 0000000..d978955
--- /dev/null
+++ b/mod.conf
@@ -0,0 +1 @@
+name = chat6