Added proper character initialization to autojoin.lua