diff --git a/src/callback.lua b/src/callback.lua index f808395..819d268 100644 --- a/src/callback.lua +++ b/src/callback.lua @@ -2,6 +2,7 @@ minetest.register_on_joinplayer(function ( player ) irc.say(mt_irc.channel, "*** "..player:get_player_name().." joined the game"); + mt_irc.connected_players[player:get_player_name()] = mt_irc.auto_join; end);