1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 09:53:12 +02:00

Remove old and broken option SHOW_INVISIBLE_LUSERS

This commit is contained in:
Bram Matthys
2019-08-24 19:45:26 +02:00
parent d06715d9ee
commit d19b4e70ad
3 changed files with 0 additions and 21 deletions
-6
View File
@@ -126,14 +126,8 @@ CMD_FUNC(m_trace)
{
if (acptr->from->fd < 0)
continue;
#ifdef SHOW_INVISIBLE_LUSERS
if (IsPerson(acptr))
link_u[acptr->from->fd]++;
#else
if (IsPerson(acptr) &&
(!IsInvisible(acptr) || ValidatePermissionsForPath("client:see:trace:invisible-users",sptr,acptr,NULL,NULL)))
link_u[acptr->from->fd]++;
#endif
else if (IsServer(acptr))
link_s[acptr->from->fd]++;
}