Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server limit when in private mode #4107

Open
SilentMF opened this issue Nov 20, 2020 · 1 comment · May be fixed by #4551
Open

Server limit when in private mode #4107

SilentMF opened this issue Nov 20, 2020 · 1 comment · May be fixed by #4551
Labels
Type: Feature Tickets that describe a desired feature or PRs that add them to the project.

Comments

@SilentMF
Copy link

Greetings,

I've got thelounge running in private mode with "locknetwork" enabled. It seems though that users can still add additional servers/networks even though it's locked to the configured network. But it lets people join the network with multiple nicknames simultaneously. How would I go about limiting the server connections to just 1 server session per user account?

Thanks so much.

@Jay2k1
Copy link
Member

Jay2k1 commented Nov 20, 2020

I solved this by running thelounge behind ZNC (to be fair, I already provided ZNC accounts before thelounge existed, so it was already there) and use locknetwork to limit my users to connections to my ZNC server where I have better control over the networks (at least it has a "Max IRC Networks Number" you can set per user, although users could in theory have that set to, say, 3 for Quakenet, Freenode and EFnet, and then change all of these connections to the same IRC network, but it's something).

As far as I know, thelounge itself currently does not have a way to enforce a limit on the number of allowed networks per user.
You could remove the "add network" GUI element though, either by editing the stylesheet to hide it or actually remove it. The latter might require running from source though.

@xPaw xPaw added the Type: Feature Tickets that describe a desired feature or PRs that add them to the project. label Nov 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Tickets that describe a desired feature or PRs that add them to the project.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants