mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-11 12:41:37 +01: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:
parent
cdbdd2dce0
commit
e77ebaf26b
2 changed files with 5 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue