alexyoung / ircd.js

A Node ircd (IRC daemon)
GNU General Public License v3.0
528 stars 90 forks source link

Don't remove channel unless all users have parted. + test #66

Closed eirikb closed 10 years ago

eirikb commented 11 years ago

Hey

I experienced that when two clients join the same channel, and then one part and rejoin the name-list was not correct. Messages could also not be sent properly.

So I made a small test and it seems it might be fixed with this commit. The test is a quite ugly, but it does the job.

sespindola commented 10 years ago

I've replicated the problem and verified this pull request fixes it. The test passes fine. Thanks for the patch!