martynsmith / node-irc

NodeJS IRC client library
GNU General Public License v3.0
1.33k stars 424 forks source link

Changing nick create ghosts #499

Open adurrive opened 7 years ago

adurrive commented 7 years ago

Hi,

When a user is changing nick, all channels then have him regardless if he actually is on the channel or not. This in turn affects the names event, etc.

The issue seems to have been marked in the code and comes from this block, which should update only the user's channels: https://github.com/martynsmith/node-irc/blob/master/lib/irc.js#L348