sshirokov / ZNC.el

Make ERC and ZNC get along more goodest.
MIT License
56 stars 20 forks source link

Allow multiple networks per user #14

Closed rschuetzler closed 8 years ago

rschuetzler commented 9 years ago

With ZNC version 1.0 or greater, you can connect one user to multiple networks using the password: "user/network:password". This patch provides that functionality using the network slug as the network name.

strugee commented 9 years ago

@sshirokov can we get this merged? With the release of Debian Jessie this is hitting me pretty hard

sshirokov commented 9 years ago

@strugee I'm still running an ancient ZNC, so I can't quite test this easily. If you can tell me that this PR works correctly, I'll go ahead and merge this.

Sorry for the (super long) delay on this. :crying_cat_face:

strugee commented 9 years ago

@sshirokov yeah, I went ahead and patched it myself in my .emacs.d and it seems to be working great. That being said, I don't know if this is compatible with old ZNCs.

strugee commented 9 years ago

@sshirokov if you end up writing some code to handle older versions, I'm happy to test patches. Sadly, my ELisp-fu is not (yet) good enough to do it myself. :/

rschuetzler commented 8 years ago

It turns out this isn't really necessary. By putting the username as "name/slug", you can get the same effect without breaking backward compatibility with <1.0 versions of ZNC.

strugee commented 8 years ago

@rschuetzler or we could have a checkbox in Customize that lets you select your ZNC version...