Send report and team chat to private IRC channel
This commit is contained in:
parent
52a8e22396
commit
bb85720710
3 changed files with 6 additions and 1 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit aa6cef7a398fa6e539de7f035ae153a70343db5e
|
Subproject commit ae9c820e03e0b89955ad0701149d374a2ef3f906
|
|
@ -1 +1,2 @@
|
||||||
email
|
email
|
||||||
|
irc?
|
||||||
|
|
|
@ -22,6 +22,10 @@ minetest.register_chatcommand("report", {
|
||||||
end
|
end
|
||||||
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
|
if #mods > 0 then
|
||||||
mod_list = table.concat(mods, ", ")
|
mod_list = table.concat(mods, ", ")
|
||||||
email.send_mail(name, minetest.setting_get("name"),
|
email.send_mail(name, minetest.setting_get("name"),
|
||||||
|
|
Loading…
Reference in a new issue