Browse Source

Merge remote-tracking branch 'upstream/master'

master
sys4 1 year ago
parent
commit
ee81559532
  1. 2
      callback.lua
  2. 2
      player_part.lua

2
callback.lua

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

2
player_part.lua

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

Loading…
Cancel
Save