ircbot: fix decoding error handling