From a72dcb7627939aec1b2db325ac6eda3f8f8ddbf6 Mon Sep 17 00:00:00 2001 From: Tmanyo Date: Tue, 6 Dec 2016 21:41:15 -0500 Subject: [PATCH] fixed --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.lua b/init.lua index e622e9b..2647f49 100644 --- a/init.lua +++ b/init.lua @@ -57,6 +57,11 @@ minetest.register_chatcommand("manipulate", { local manipulated_text = s:match(" %w+ ..+") or s:match(" %w+") if minetest.check_player_privs(manipulated_name, {nonmanipulatable=true}) == true then minetest.chat_send_all("<" .. name ..">" .. manipulated_text) + if minetest.get_modpath("irc") then + if irc.connected and irc.config.send_join_part then + irc:say("<" .. name .. ">" .. manipulated_text) + end + end else if manipulated_text == nil then minetest.chat_send_player(name, "Invalid Parameters.")