Not sure why this would happen, but it's clear that the chat daemon is being invoked
as if you'd issued a channel emote, and since it is a null channel name, the logging
tries to append to the chan log dir rather than a channel log file. Which, thankfully, fails.
I don't have a definite answer right now, I'll put it on my front burner of things
to investigate.
-Crat