Fix logging on SmoothIRC