Fix error in /customavatar.
Fix error in /customavatar.

BuzzyOG/Pokemon-Showdown,panpawn/Gold-Server,panpawn/Pokemon-Showdown,Tesarand/Pokemon-Showdown,Git-Worm/City-PS,Git-Worm/City-PS,Tesarand/Pokemon-Showdown,panpawn/Pokemon-Showdown,panpawn/Gold-Server,BuzzyOG/Pokemon-Showdown,BuzzyOG/Pokemon-Showdown,panpawn/Gold-Server,Tesarand/Pokemon-Showdown