diff --git a/mods/ctf_pvp_engine b/mods/ctf_pvp_engine index aa6cef7..ae9c820 160000 --- a/mods/ctf_pvp_engine +++ b/mods/ctf_pvp_engine @@ -1 +1 @@ -Subproject commit aa6cef7a398fa6e539de7f035ae153a70343db5e +Subproject commit ae9c820e03e0b89955ad0701149d374a2ef3f906 diff --git a/mods/report/depends.txt b/mods/report/depends.txt index 7df2c28..ac57a53 100644 --- a/mods/report/depends.txt +++ b/mods/report/depends.txt @@ -1 +1,2 @@ email +irc? diff --git a/mods/report/init.lua b/mods/report/init.lua index a544294..16cb3c9 100644 --- a/mods/report/init.lua +++ b/mods/report/init.lua @@ -22,6 +22,10 @@ minetest.register_chatcommand("report", { end end + + if minetest.global_exists("irc") and irc.feature_mod_channel then + irc:say(irc.config.channel, "UserReport by " .. name .. ": " .. param, true) + end if #mods > 0 then mod_list = table.concat(mods, ", ") email.send_mail(name, minetest.setting_get("name"),