martynsmith/node-irc — Issue #73: QUIT, KILL removes users from user list before processing event hooks
Author: Acubed
Created: 2011-11-24 16:07:01+00:00
State: open

The default 'raw' event hook is executed before anything else, which removes. It emits a 'quit' event which lists the removed users, however other commands (KILL, NICK) have no way of knowing what the affected channels are. Additionally with the current 'quit' event there is no way to get the raw parsed packet AND the list of channels the user was in. Perhaps the data structures should not be modified until all event hooks have been fully processed.