gf3 / IRC-js

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

IRC#names callback channel argument incorrect #28

Closed Spotnyk closed 13 years ago

Spotnyk commented 13 years ago

I might be doing something wrong, but when calling IRC#names, the callback 'channel' argument is always '='.

I'm not sure why this is happening. But I can reproduce it every time. It does provide the channel usernames correctly, just not the channel name itself.

gf3 commented 13 years ago

Strange, looks like IRC servers deviate from the spec here. I'm not sure what the = means, but I have added the exception. I'll push it live soon.

gf3 commented 13 years ago

Thanks!

Spotnyk commented 13 years ago

For reference, this was happening with the InspIRCd server. Thanks for the fix.

gf3 commented 13 years ago

Same thing on ircd-seven and UnrealIRCD.