1
0
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:
Bram Matthys
2015-10-30 09:19:11 +01:00
parent cdbdd2dce0
commit e77ebaf26b
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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;
};
};
+1 -1
View File
@@ -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),