Fixed broken Chatcommands

This commit is contained in:
Elias Fleckenstein 2020-08-15 16:32:16 +02:00
parent 80371bc165
commit 9dc3eb7770

View File

@ -3,7 +3,7 @@ chat = {}
chat.rainbow = dofile(minetest.get_modpath("chat") .. "/rainbow.lua")
function chat.send(message)
local starts_with = message:sub(1,1) == "/"
local starts_with = message:sub(1, 1)
if starts_with == "/" or starts_with == "." then return end