Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

hideserver module /map for users #312

Open
gorut opened this issue Mar 28, 2020 · 4 comments
Open

hideserver module /map for users #312

gorut opened this issue Mar 28, 2020 · 4 comments

Comments

@gorut
Copy link

gorut commented Mar 28, 2020

I am having trouble setting the module hideserver on the command /map for the user
so that it cannot be accessed by commands /maps for normal users, how are the settings?

@aaronmdjones
Copy link
Contributor

/links is always unprivileged, and can be configured to show a flattened output to non-opers. If this is the case, /map will show a flattened links if it has been set to oper-only, because the users can always just run /links instead. Hiding a server from /map should hide it from /links too if I'm not mistaken.

@gorut
Copy link
Author

gorut commented Mar 29, 2020

yes I think / the link is like that, and I've tried to / map only the operator and it does not work
maybe something is wrong in my settings, I'll try again

@gorut
Copy link
Author

gorut commented Mar 29, 2020

serverhide {
        flatten_links = yes;
        links_delay = 5 minutes;
        hidden = yes;
        disable_hidden = no;
};

Is this block?

@aaronmdjones
Copy link
Contributor

You also want:

general {
        map_oper_only = yes;
};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants