Appease luacheck
This commit is contained in:
parent
e9f09c3587
commit
ebd332a3c6
1 changed files with 4 additions and 4 deletions
|
@ -288,12 +288,12 @@ if minetest.global_exists("irc") then
|
||||||
local bbrace = color .. ">" .. clear
|
local bbrace = color .. ">" .. clear
|
||||||
return ("%s%s%s %s"):format(abrace, name, bbrace, message)
|
return ("%s%s%s %s"):format(abrace, name, bbrace, message)
|
||||||
end
|
end
|
||||||
|
|
||||||
me_func = function(...)
|
me_func = function(...)
|
||||||
local message = irc.playerMessage(...)
|
local message = irc.playerMessage(...)
|
||||||
|
|
||||||
message = "*" .. message:sub(message:find(" "))
|
message = "*" .. message:sub(message:find(" "))
|
||||||
|
|
||||||
irc.say(message)
|
irc.say(message)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -329,7 +329,7 @@ minetest.registered_chatcommands["me"].func = function(name, param)
|
||||||
else
|
else
|
||||||
name = "* ".. name
|
name = "* ".. name
|
||||||
end
|
end
|
||||||
|
|
||||||
me_func(name, param)
|
me_func(name, param)
|
||||||
minetest.chat_send_all(name .. " " .. param)
|
minetest.chat_send_all(name .. " " .. param)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue