Improve removeChatRoom: use splice isntead of delete
Improve removeChatRoom: use splice isntead of delete

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