Use snprintf instead of sprintf and reduce variable scopes
Converts sprintf to snprintf as suggested in !15 (merged), and then does some variable scope reductions I noticed while in there.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Converts sprintf to snprintf as suggested in !15 (merged), and then does some variable scope reductions I noticed while in there.