Stop /modchat spam
Stop /modchat spam

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