forked from minetest-mods/irc
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
ee81559532
@ -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)
|
||||
|
||||
|
||||
|
@ -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…
Reference in New Issue
Block a user