Send team chat to private IRC channel
parent
aa6cef7a39
commit
ae9c820e03
|
@ -1,2 +1,3 @@
|
|||
ctf
|
||||
chatplus?
|
||||
irc?
|
||||
|
|
|
@ -282,6 +282,9 @@ minetest.register_chatcommand("t", {
|
|||
minetest.chat_send_player(username,
|
||||
tname .. "<" .. name .. "> ** " .. param .. " **")
|
||||
end
|
||||
if minetest.global_exists("irc") and irc.feature_mod_channel then
|
||||
irc:say(irc.config.channel, tname .. "<" .. name .. "> ** " .. param .. " **", true)
|
||||
end
|
||||
else
|
||||
minetest.chat_send_player(name,
|
||||
"You're not in a team, so you have no team to talk to.")
|
||||
|
|
Loading…
Reference in New Issue