Removed unused imports.
Added irc_error event.