It is good that it is gone now. I am sure the hot weather had a lot to do with it. Charley horse is really painful and, when it is over, there is still soreness. I read somewhere that ice helps in those situations. Ice also helps in case the leg gets swollen.
I am glad that the symptoms are gone. Enjoy the cooler weather.