Appease luacheck

This commit is contained in:
LoneWolfHT 2021-03-18 17:48:21 -07:00 committed by GitHub
parent e9f09c3587
commit ebd332a3c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -288,12 +288,12 @@ if minetest.global_exists("irc") then
local bbrace = color .. ">" .. clear
return ("%s%s%s %s"):format(abrace, name, bbrace, message)
end
me_func = function(...)
local message = irc.playerMessage(...)
message = "*" .. message:sub(message:find(" "))
irc.say(message)
end
end
@ -329,7 +329,7 @@ minetest.registered_chatcommands["me"].func = function(name, param)
else
name = "* ".. name
end
me_func(name, param)
minetest.chat_send_all(name .. " " .. param)
end