Fixed re-sending of messages from irc to ajaxchat to irc again.
I wanted a cleaner solution, ideas welcome.
It's a shame