implement irc support

This commit is contained in:
Tai @ Flex 2017-02-28 21:55:38 +00:00
parent 6d0cf09f77
commit e024fcddaa
2 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,6 @@
-- Chat mode assignment by moderator
-- Implement support for custom privs
-- Implement @-pings - play a sound to target player if @playername is mentioned
-- IRC mode that sends to IRC when `irc` mod is loaded, as well as acting as `shout`

View File

@ -10,6 +10,10 @@ chat_modes.register("shout", {
end,
getPlayers = function()
if minetest.get_modpath("irc") and irc then
irc:say(message)
end
return minetest.get_connected_players()
end
})