fix irc report without msgfilename; cleanup