Bugfix, missing hook

fixed bug that irc messages were not sent, need both hooks