charybdis-ircd / charybdis

Scalable IRCv3.2 server for large, community-oriented networks
GNU General Public License v2.0
231 stars 102 forks source link

hideserver module /map for users #312

Open gorut opened 4 years ago

gorut commented 4 years ago

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 commented 4 years ago

/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 commented 4 years ago

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 commented 4 years ago
serverhide {
        flatten_links = yes;
        links_delay = 5 minutes;
        hidden = yes;
        disable_hidden = no;
};

Is this block?

aaronmdjones commented 4 years ago

You also want:

general {
        map_oper_only = yes;
};