You want to hide servers from /LINKS and /MAP right ??
This means you have to modify alot of commands.
WHOIS
WHOWAS
WHO
LINKS
MAP
etc.
I'll give you a few examples of codes you need to alter.
Locate: src/whowas.c
Find the section:
sendto_one (source_p, rpl_str (RPL_WHOISSERVER),
me.name, parv[0], temp->name,
temp->servername, myctime (temp->logoff));
and replace it with something like this below:
/* erich - In case of whowas, only show the real server to opers */
if (IsAnOper (source_p)) {
sendto_one (source_p, rpl_str (RPL_WHOISSERVER),
me.name, parv[0], temp->name,
temp->servername, myctime (temp->logoff));
} else {
sendto_one (source_p, rpl_str (RPL_WHOISSERVER),
me.name, parv[0], temp->name,
"irc.After-All.org", myctime (temp->logoff));
}
LINKS is in src/s_serv.c around line 2120-2150. I've done it so that it only shows the round robin dns names. Like this:
sendto_one (source_p, rpl_str (RPL_LINKS),
me.name, parv[0], "irc.After-All.org", "irc.After-All.org",
1, "(Unknown Location)");
sendto_one (source_p, rpl_str (RPL_LINKS),
me.name, parv[0], "eu.After-All.org", "irc.After-All.org",
1, "Europe");
sendto_one (source_p, rpl_str (RPL_LINKS),
me.name, parv[0], "us.After-All.org", "irc.After-All.org",
1, "USA");
WHOIS is in src/s_user.c around line 2700. Again I've modified the function to work normally for OPERs but only show "irc.After-All.org" as connected to for a normal user.
But thats up to you how you like it to act. Modifying the code isn't very hard. Just give it a GO!!