added irc type reference to event handlers