flackr / circ

An IRC packaged chrome app
BSD 3-Clause "New" or "Revised" License
387 stars 79 forks source link

Unable to connect to multiple users on ZNC #351

Open AnnoLuigi opened 9 years ago

AnnoLuigi commented 9 years ago

I am unable to connect to multiple users on the same ZNC server which sucks as I use one user per network.

jessesung commented 6 years ago

If you can add alias of the server, then there's a workaround by, for example, adding an entry in /etc/hosts: <ip_address> <server_hostname> znc1 znc2 znc3 Then you can use /server znc1 <port> user1:pwd1 /server znc2 <port> user2:pwd2 /server znc3 <port> user3:pwd3 to make multiple connections to the same ZNC.

jessesung commented 6 years ago

The problem is that CIRC uses [server] as an index to see if the connection is already created. To allow multiple connections to the same server, password (and maybe port) must also be considered...

And we may need a new optional parameter for /server: SERVER [server] [port] [password] [DisplayName] Then use [DisplayName] in the server/channel list window to prevent confusion.