Use fgets() instead of fread() and nul-terminate the newline.
Use fgets() instead of fread() and nul-terminate the newline.

committer: William Pitcock <904d3da5c2001f94bfa014239941837342b65c9b@chocobo.sacredspiral.co.uk>

atheme/libmcs,atheme/libmcs