Fix a critical bug in joinRoom Users couldn't be put into rooms if they weren't in the lobby.
Fix a critical bug in joinRoom
Users couldn't be put into rooms if they weren't in the lobby.

Sora-Server/Sora,DarkSuicune/Pokemon-Showdown,forbiddennightmare/Pokemon-Showdown-1,DesoGit/TsunamiPS,Lord-Haji/SpacialGaze,Raina4uberz/Light-server,danpantry/Pokemon-Showdown,Breakfastqueen/advanced,TheManwithskills/DS,SerperiorBae/Pokemon-Showdown,gustavo515/gashoro,AWailOfATail/Pokemon-Showdown,Celecitia/Plux-Pokemon-Showdown,forbiddennightmare/Pokemon-Showdown-1,JennyPRO/Jenny,Sora-League/Sora,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,FakeSloth/Infinite,SerperiorBae/Bae-Showdown-2,MayukhKundu/Pokemon-Domain,LegendBorned/PS-Boilerplate,Firestatics/Omega-Alpha,brettjbush/Pokemon-Showdown,scotchkorean27/Pokemon-Showdown,TheManwithskills/Server---Thermal,Kill-The-Noise/BlakJack-Boilerplate,gustavo515/test,Ridukuo/Test2,brettjbush/Pokemon-Showdown,Lord-Haji/SpacialGaze,TheManwithskills/Server,AvinashSwaminathan/lotus,Vacate/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,abulechu/Dropp-Pokemon-Showdown,Sora-League/Sora,MasterFloat/LQP-Server-Showdown,AnaRitaTorres/Pokemon-Showdown,Nineage/Showdown-Boilerplate,Ridukuo/Test2,TheManwithskills/COC,lFernanl/Pokemon-Showdown,Enigami/Pokemon-Showdown,Firestatics/Firestatics46,Extradeath/advanced,Flareninja/Showdown-Boilerplate,AvinashSwaminathan/Pokelegends,Vacate/Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,ZeroParadox/ugh,SolarisFox/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,azum4roll/Pokemon-Showdown,ZestOfLife/PSserver,johtooo/PS,Syurra/Pokemon-Showdown,xfix/Pokemon-Showdown,Flareninja/Pokemon-Showdown,KewlStatics/Alliance,Flareninja/Sora,javi501/Lumen-Pokemon-Showdown,MayukhKundu/Flame-Savior,Darkshadow6/PokeMoon-Creation,sama2/Dropp-Pokemon-Showdown,megaslowbro1/Showdown-Server-again,yashagl/pokecommunity,kotarou3/Krister-Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,PrimalGallade45/Lumen-Pokemon-Showdown,Git-Worm/City-PS,anubhabsen/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,HoeenCoder/SpacialGaze,kubetz/Pokemon-Showdown,Zipzapadam/Server,comedianchameleon/test,DesoGit/Tsunami_PS,jd4564/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,Lauc1an/Perulink-Showdown,DB898/theregalias,MeliodasBH/Articuno-Land,Tesarand/Pokemon-Showdown,ehk12/bigbangtempclone,svivian/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,ZestOfLife/FestiveLife,sama2/Viridian-Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,yashagl/pokecommunity,lFernanl/Pokemon-Showdown,hayleysworld/serenity,danpantry/Pokemon-Showdown,jd4564/Pokemon-Showdown,TheManwithskills/Server,urkerab/Pokemon-Showdown,PrimalGallade45/Dropp-Pokemon-Showdown,Enigami/Pokemon-Showdown,Guernouille/Pokemon-Showdown,abrulochp/Dropp-Pokemon-Showdown,xCrystal/Pokemon-Showdown,DesoGit/Tsunami_PS,xCrystal/Pokemon-Showdown,LustyAsh/EOS-Master,CrestfallPS/Pokemon-Showdown,Elveman/RPCShowdownServer,QuiteQuiet/Pokemon-Showdown,iFaZe/SilverZ,xfix/Pokemon-Showdown,Firestatics/omega,SilverTactic/Showdown-Boilerplate,Zipzapadam/Server,abrulochp/Lumen-Pokemon-Showdown,Stroke123/POKEMON,ankailou/Pokemon-Showdown,MayukhKundu/Technogear,megaslowbro1/Showdown-Server-again,Yggdrasil-League/Yggdrasil,Bryan-0/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,KaitoV4X/Showdown,CharizardtheFireMage/Showdown-Boilerplate,UniversalMan12/Universe-Server,TbirdClanWish/Pokemon-Showdown,BuzzyOG/Pokemon-Showdown,Ecuacion/Pokemon-Showdown,sama2/Dropp-Pokemon-Showdown,Ridukuo/Test,sama2/Lumen-Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,Hopenub/Pokemon-Showdown,Nineage/Origin,javi501/Lumen-Pokemon-Showdown,yashagl/yash-showdown,sama2/Universe-Pokemon-Showdown,Flareninja/Hispano-Pokemon-Showdown,BadSteel/Omega-Pokemon-Showdown,johtooo/PS,Disaster-Area/Pokemon-Showdown,gustavo515/gashoro,megaslowbro1/Pokemon-Showdown,Wando94/Spite,ehk12/bigbangtempclone,Psyientist/Showdown-Boilerplate,Parukia/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,JellalTheMage/PS-,Ridukuo/Test,Kevinxzllz/PS-Openshift-Server,KewlStatics/Pokeindia-Codes,comedianchameleon/test,TheManwithskills/Server-2,LustyAsh/EOS-Master,gustavo515/batata,Parukia/Pokemon-Showdown,DalleTest/Pokemon-Showdown,InvalidDN/Pokemon-Showdown,lFernanl/Mudkip-Server,EmmaKitty/Pokemon-Showdown,MayukhKundu/Flame-Savior,AustinXII/Pokemon-Showdown,Raina4uberz/Light-server,asdfghjklohhnhn/Pokemon-Showdown,Thiediev/Pokemon-Showdown,MayukhKundu/Technogear,Kevinxzllz/PS-Openshift-Server,yashagl/pokemon-showdown,Oiawesome/DPPtServ2,theodelhay/test,Articuno-I/Pokemon-Showdown,TheFenderStory/Pokemon-Showdown,SilverTactic/Showdown-Boilerplate,yashagl/pokemon,catanatron/pokemon-rebalance,Elveman/RPCShowdownServer,Flareninja/Pokemon-Showdown-1,ShowdownHelper/Saffron,ZeroParadox/ugh,DarkSuicune/Kakuja-2.0,AvinashSwaminathan/lotus-v2,EienSeiryuu/Pokemon-Showdown,SerperiorBae/Bae-Showdown-2,KewlStatics/Pokeindia-Codes,Disaster-Area/Pokemon-Showdown,BlakJack/Kill-The-Noise,Yggdrasil-League/Yggdrasil,CreaturePhil/Pokemon-Showdown,hayleysworld/serenityserver,DesoGit/TsunamiPS,Zarel/Pokemon-Showdown,hayleysworld/Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,svivian/Pokemon-Showdown,Git-Worm/City-PS,LightningStormServer/Lightning-Storm,SkyeTheFemaleSylveon/Pokemon-Showdown,Atwar/ServerClassroom,yashagl/pokemon-showdown,Lord-Haji/SpacialGaze,SerperiorBae/Pokemon-Showdown-1,TogeSR/Lumen-Pokemon-Showdown,AbsolitoSweep/Absol-server,AWailOfATail/awoat,gustavo515/final,Flareninja/Sora,lFernanl/Lumen-Pokemon-Showdown,Irraquated/Showdown-Boilerplate,TheManwithskills/Creature-phil-boiler,ZestOfLife/FestiveLife,panpawn/Gold-Server,kuroscafe/Paradox,CreaturePhil/Pokemon-Showdown,TheManwithskills/New-boiler-test,MeliodasBH/boarhat,Firestatics/Firestatics46,TheDiabolicGift/Lumen-Pokemon-Showdown,superman8900/Pokemon-Showdown,panpawn/Pokemon-Showdown,Atwar/server-epilogueleague.rhcloud.com,hayleysworld/asdfasdf,AustinXII/Pokemon-Showdown,theodelhay/test,arkanox/MistShowdown,Sora-Server/Sora,Zarel/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,asdfghjklohhnhn/Pokemon-Showdown,yashagl/pokemon,UniversalMan12/Universe-Server,ShowdownHelper/Saffron,aakashrajput/Pokemon-Showdown,zczd/enculer,Arcticblast/Pokemon-Showdown,Breakfastqueen/advanced,SerperiorBae/BaeShowdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,Luobata/Pokemon-Showdown,Atwar/ServerClassroom,SolarisFox/Pokemon-Showdown,psnsVGC/Wish-Server,SerperiorBae/Bae-Showdown,TheManwithskills/Server-2,aakashrajput/Pokemon-Showdown,Ransei1/Alt,MayukhKundu/Pokemon-Domain,TbirdClanWish/Pokemon-Showdown,xfix/Pokemon-Showdown,hayleysworld/harmonia,lFernanl/Zero-Pokemon-Showdown,Lauc1an/Perulink-Showdown,Stroke123/POKEMON,miahjennatills/Pokemon-Showdown,Adithya4Uberz/The-Tsunami-League,Adithya4Uberz/The-Tsunami-League,SerperiorBae/Pokemon-Showdown,zek7rom/SpacialGaze,PauLucario/LQP-Server-Showdown,Wando94/Pokemon-Showdown,FakeSloth/wulu,JellalTheMage/PS-,PS-Spectral/Spectral,Adithya4Uberz/KTN,BadSteel/Pokemon-Showdown,Legit99/Lightning-Storm-Server,arkanox/MistShowdown,Alpha-Devs/Alpha-Server,JellalTheMage/Jellals-Server,QuiteQuiet/Pokemon-Showdown,Extradeath/psserver,MayukhKundu/Mudkip-Server,k3naan/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,Extradeath/psserver,ehk12/coregit,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,k3naan/Pokemon-Showdown,Legit99/Lightning-Storm-Server,Flareninja/Lumen-Pokemon-Showdown,sama2/Universe-Pokemon-Showdown,Mystifi/Exiled,TheFenderStory/Pokemon-Showdown,gustavo515/final,Volcos/SpacialGaze,zek7rom/SpacialGaze,HoeenCoder/SpacialGaze,svivian/Pokemon-Showdown,lAlejandro22/lolipoop,Ecuacion/Lumen-Pokemon-Showdown,Gold-Solox/Pokemon-Showdown,PrimalGallade45/Dropp-Pokemon-Showdown,Fusxfaranto/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,abulechu/Lumen-Pokemon-Showdown,Volcos/SpacialGaze,hayleysworld/harmonia,Firestatics/Omega-Alpha,Pikachuun/Joimmon-Showdown,Pokemon-Devs/Pokemon-Showdown,svivian/Pokemon-Showdown,HoeenCoder/SpacialGaze,kubetz/Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,SerperiorBae/BaeShowdown,AnaRitaTorres/Pokemon-Showdown,Sora-Server/Sora,PauLucario/LQP-Server-Showdown,sirDonovan/Pokemon-Showdown,Checkinator/Pokemon-Showdown,SerperiorBae/BaeShowdown,Irraquated/EOS-Master,KewlStatics/Showdown-Template,EmmaKitty/Pokemon-Showdown,Syurra/Pokemon-Showdown,sama2/Viridian-Pokemon-Showdown,lAlejandro22/lolipoop,AWailOfATail/Pokemon-Showdown,kupochu/Pokemon-Showdown,superman8900/Pokemon-Showdown,hayleysworld/Showdown-Boilerplate,Wando94/Pokemon-Showdown,Kokonoe-san/Glacia-PS,TheManwithskills/Server---Thermal,SerperiorBae/Bae-Showdown-2,hayleysworld/Showdown-Boilerplate,Kenny-/Pokemon-Showdown,VoltStorm/Server-pokemon-showdown,TheDiabolicGift/Lumen-Pokemon-Showdown,RustServer/Pokemon-Showdown,KewlStatics/Alliance,NoahVSGamingYT/Pokemon-Showdown,SerperiorBae/Bae-Showdown,SerperiorBae/Bae-Showdown,ankailou/Pokemon-Showdown,KaitoV4X/Showdown,kotarou3/Krister-Pokemon-Showdown,panpawn/Gold-Server,BuzzyOG/Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,KewlStatics/Shit,Pikachuun/Pokemon-Showdown-SMCMDM,CorruptedHelix/Pokemon-Showdown,Irraquated/Showdown-Boilerplate,ehk12/clone,gustavo515/test,Hidden-Mia/Roleplay-PS,Irraquated/Pokemon-Showdown,KewlStatics/Showdown-Template,lFernanl/Lumen-Pokemon-Showdown,Pikachuun/Joimmon-Showdown,cadaeic/Pokemon-Showdown,LegendBorned/PS-Boilerplate,MasterFloat/Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,Wando94/Spite,kuroscafe/Paradox,zczd/enculer,Bryan-0/Pokemon-Showdown,JennyPRO/Jenny,Flareninja/Pokemon-Showdown-1,sama2/Lumen-Pokemon-Showdown,Pikachuun/Touhoumon-Showdown,HoeenCoder/SpacialGaze,MasterFloat/LQP-Server-Showdown,LightningStormServer/Lightning-Storm,CreaturePhil/Showdown-Boilerplate,abrulochp/Lumen-Pokemon-Showdown,Irraquated/Pokemon-Showdown,Oiawesome/DPPtServ2,urkerab/Pokemon-Showdown,hayleysworld/serenityc9,catanatron/pokemon-rebalance,SerperiorBae/Pokemon-Showdown,Breakfastqueen/advanced,Flareninja/Sora,DB898/theregalias,scotchkorean27/Pokemon-Showdown,TheManwithskills/COC,TheFenderStory/Showdown-Boilerplate,AbsolitoSweep/Absol-server,Gold-Solox/Pokemon-Showdown,Extradeath/advanced,Flareninja/Lumen-Pokemon-Showdown,psnsVGC/Wish-Server,TheManwithskills/Creature-phil-boiler,Flareninja/Pokemon-Showdown,AWailOfATail/awoat,Zarel/Pokemon-Showdown,azum4roll/Pokemon-Showdown,Enigami/Pokemon-Showdown,CorruptedHelix/Pokemon-Showdown,SilverTactic/Dragotica-Pokemon-Showdown,RustServer/Pokemon-Showdown,Evil-kun/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,TheManwithskills/serenity,TheManwithskills/serenity,TheManwithskills/New-boiler-test,LightningStormServer/Lightning-Storm,HoeenKid/Pokemon-Showdown-Johto,cadaeic/Pokemon-Showdown,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,ehk12/clone,Enigami/Pokemon-Showdown,PS-Spectral/Spectral,jumbowhales/Pokemon-Showdown,Ransei1/Alt,MayukhKundu/Technogear-Final,FakeSloth/Infinite,Tesarand/Pokemon-Showdown,yashagl/yash-showdown,InvalidDN/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,TheFenderStory/Showdown-Boilerplate,Ecuacion/Pokemon-Showdown,hayleysworld/serenityserver,miahjennatills/Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,Tesarand/Pokemon-Showdown,Nineage/Origin,ZeroParadox/BlastBurners,Atwar/server-epilogueleague.rhcloud.com,BuzzyOG/Pokemon-Showdown,Articuno-I/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,TheManwithskills/DS,UniversalMan12/Universe-Server,DalleTest/Pokemon-Showdown,DesoGit/Tsunami_PS,TheManwithskills/Dusk--Showdown,Pablo000/aaa,Guernouille/Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,MasterFloat/Pokemon-Showdown,DarkSuicune/Kakuja-2.0,ShowdownHelper/Saffron,Johto-Serverr/Werfin-Boilerplate,Neosweiss/Pokemon-Showdown,comedianchameleon/test,panpawn/Pokemon-Showdown,Parukia/Pokemon-Showdown,Kokonoe-san/Glacia-PS,sirDonovan/Pokemon-Showdown,Firestatics/omega,SerperiorBae/PokemonShowdown2,Pikachuun/Pokemon-Showdown,BasedGod7/PH,Checkinator/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,xfix/Pokemon-Showdown,hayleysworld/Pokemon-Showdown,MayukhKundu/Technogear-Final,Pokemon-Devs/Pokemon-Showdown,MayukhKundu/Mudkip-Server,piiiikachuuu/Pokemon-Showdown,AvinashSwaminathan/lotus-v3,Mystifi/Exiled,xCrystal/Pokemon-Showdown,hayleysworld/serenity,TheManwithskills/Dusk--Showdown,Pablo000/aaa,Celecitia/Plux-Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,bai2/Dropp,PS-Spectral/Spectral,NoahVSGamingYT/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,AustinXII/Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,kuroscafe/Showdown-Boilerplate,TheManwithskills/Server-2,Evil-kun/Pokemon-Showdown,svivian/Pokemon-Showdown,Chespin14/Custom-Platform-Pokemon-Showdown,panpawn/Gold-Server,TheDiabolicGift/Showdown-Boilerplate,ScottehMax/Pokemon-Showdown,Hidden-Mia/Roleplay-PS,comedianchameleon/servertest1,Werfin96/Ultimate,lFernanl/Zero-Pokemon-Showdown,SkyeTheFemaleSylveon/Mudkip-Server,lFernanl/Mudkip-Server,SerperiorBae/Pokemon-Showdown-1,TheDiabolicGift/Showdown-Boilerplate,SubZeroo99/Pokemon-Showdown,Sora-League/Sora,megaslowbro1/Pokemon-Showdown,Psyientist/Showdown-Boilerplate,kupochu/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,anubhabsen/Pokemon-Showdown,Alpha-Devs/Alpha-Server,KewlStatics/Shit,TogeSR/Lumen-Pokemon-Showdown,SilverTactic/Dragotica-Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,QuiteQuiet/Pokemon-Showdown,hayleysworld/serenityc9,Irraquated/EOS-Master,SilverTactic/Pokemon-Showdown,SubZeroo99/Pokemon-Showdown,bai2/Dropp,gustavo515/batata,comedianchameleon/servertest1,SkyeTheFemaleSylveon/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,CreaturePhil/Showdown-Boilerplate,xfix/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,iFaZe/SliverX,urkerab/Pokemon-Showdown,Legendaryhades/Oblivion,SerperiorBae/PokemonShowdown2,Irraquated/Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,SilverTactic/Pokemon-Showdown,ZestOfLife/PSserver,abrulochp/Dropp-Pokemon-Showdown,JellalTheMage/Jellals-Server,Flareninja/Hispano-Pokemon-Showdown,MeliodasBH/Articuno-Land,ehk12/coregit,SkyeTheFemaleSylveon/Mudkip-Server,Mystifi/Exiled,ZeroParadox/BlastBurners,MeliodasBH/boarhat,hayleysworld/asdfasdf