From 6e7447d7dd61db5f86e3e75bc94ca9284e06d091 Mon Sep 17 00:00:00 2001 From: kizeren Date: Tue, 18 Dec 2012 19:26:58 -0600 Subject: [PATCH] Update src/init.lua Removing autjoin stuff. Bot refuses to join regardless. Going to have bot join when any users types the in game "/join" command. For this to work autoconnect needs to enabled. --- src/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.lua b/src/init.lua index a12b736..77b6623 100644 --- a/src/init.lua +++ b/src/init.lua @@ -220,7 +220,7 @@ minetest.register_chatcommand("join", { mt_irc.connected_players[name] = true; -- Best way I could get bot to autojoin channel was to add the irc.join function here. -- Bot won't connect until the first user joins. The bot will not disconect if last player leaves. - --irc.join(mt_irc.channel); + irc.join(mt_irc.channel); minetest.chat_send_player(name, "IRC: You are now in the channel."); end; });