Use $crlf, there are a couple of IRCds (pircd comes to mind) that will ignore your message if it ends with just $cr, so use $crlf to be safe.