hooking up a handler that sends IRC message