Update autojoin.lua

functions changed
Merge pull request #446 from nitrous24/patch-1

Update autojoin.lua