modchat is now saved through restarts
Modjoin feature: control who can join a room
Prevent Illusion in last on a random team

Illusion loses viability when it's on a Pokemon that's last on a team
Merge pull request #813 from Relados/patch-52

Prevent Illusion in last on a random team
Fix modjoin

A typo allowed anyone to join rooms regardless of modjoin settings.
Fix chat room´s modchat level not loading
Minor optimization to modjoin check
Fix permissions bug
Merge remote-tracking branch 'upstream/master' into config-refactor

Conflicts:
	commands.js
	rooms.js
Merge branch 'config-refactor' into kupo