From 5ef5fee1de38704872d977411b560a5a8b3261e9 Mon Sep 17 00:00:00 2001 From: ezhh Date: Mon, 25 Jul 2016 00:43:17 +0100 Subject: [PATCH] Proclaim command now sends to IRC --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.lua b/init.lua index 2b8ee64..3892858 100644 --- a/init.lua +++ b/init.lua @@ -300,6 +300,11 @@ minetest.register_chatcommand("proclaim", { return end minetest.chat_send_all(param) + if minetest.get_modpath("irc") then + if irc.connected and irc.config.send_join_part then + irc:say(param) + end + end end })