Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Sys Quatre 2020-07-19 22:39:46 +02:00
commit ee81559532
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ minetest.register_on_chat_message(function(name, message)
if nl then if nl then
message = message:sub(1, nl - 1) message = message:sub(1, nl - 1)
end end
irc.say(irc.playerMessage(name, core.strip_colors(message))) irc.say(irc.playerMessage(name, minetest.strip_colors(message)))
end) end)

View File

@ -47,7 +47,7 @@ minetest.register_chatcommand("who", {
out[n] = plname out[n] = plname
end end
table.sort(out) table.sort(out)
return true, "Players in channel: "..table.concat(out, ", ") return true, n.." player(s) in channel: "..table.concat(out, ", ")
end end
}) })