gf3 / IRC-js

The best IRC library for node.js
http://irc-js.com
The Unlicense
179 stars 33 forks source link

A lot better handling of various IRC commands #59

Open ghost opened 12 years ago

ghost commented 12 years ago

This is a good example https://github.com/gf3/IRC-js/blob/nlogax/experimental/lib/objects.js#L403 More like that, for the rest of the commands.

ghost commented 12 years ago

I guess only the commands where we want callbacks for the user need this sort of treatment. All the other messages can just fall in when they please and get picked up by the built-in handlers. If someone could look through them and determine which ones should have callbacks, that would be terrific.