mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 17:33:13 +02:00
Add 'map' to default operclass privileges so opers see ulines and the real map (not flat-map). Reported by blank (#4441).
This commit is contained in:
@@ -34,6 +34,7 @@ operclass locop {
|
||||
zline { local; };
|
||||
};
|
||||
trace { local; invisible-users; };
|
||||
map;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -54,6 +55,7 @@ operclass globop {
|
||||
trace;
|
||||
who;
|
||||
override { see; };
|
||||
map;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -75,6 +77,7 @@ operclass admin {
|
||||
trace;
|
||||
who;
|
||||
override { see; };
|
||||
map;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -124,6 +127,7 @@ operclass netadmin {
|
||||
samode;
|
||||
servicebot { deop; kill; };
|
||||
override { see; };
|
||||
map;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ CMD_FUNC(m_links)
|
||||
list_for_each_entry(acptr, &global_server_list, client_node)
|
||||
{
|
||||
/* Some checks */
|
||||
if (HIDE_ULINES && IsULine(acptr) && !IsOper(sptr))
|
||||
if (HIDE_ULINES && IsULine(acptr) && !ValidatePermissionsForPath("map:ulines",cptr,NULL,NULL,NULL))
|
||||
continue;
|
||||
if (flat)
|
||||
sendto_one(sptr, rpl_str(RPL_LINKS),
|
||||
|
||||
Reference in New Issue
Block a user