diff --git a/mods/ctf_map/depends.txt b/mods/ctf_map/depends.txt index dbb1d69..1927f44 100644 --- a/mods/ctf_map/depends.txt +++ b/mods/ctf_map/depends.txt @@ -3,3 +3,4 @@ ctf_team_base? ctf? ctf_match? worldedit? +irc? diff --git a/mods/ctf_map/schem_map.lua b/mods/ctf_map/schem_map.lua index 5f609ba..2877574 100644 --- a/mods/ctf_map/schem_map.lua +++ b/mods/ctf_map/schem_map.lua @@ -72,6 +72,9 @@ function ctf_map.place_map(map) msg = msg .. "\n" .. map.hint end minetest.chat_send_all(msg) + if minetest.global_exists("irc") and irc.connected then + irc:say(msg) + end end) minetest.after(10, function()