1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-02 14:53:14 +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
-12
View File
@@ -88,9 +88,6 @@
#define HOW_MANY_FREELINKS_ALLOWED 200 /* default: 200 */
/* NOTE: On some systems, valloc() causes many problems. */
#undef VALLOC /* Define this if you have valloc(3) */
/*
* read/write are restarted after signals defining this 1, gets
* siginterrupt call compiled, which attempts to remove this
@@ -122,15 +119,6 @@
#define BPATH CONFDIR"/bot.motd" /* Bot MOTD */
#define IRCDTUNE PERMDATADIR"/ircd.tune" /* tuning .. */
/* SHOW_INVISIBLE_LUSERS
*
* As defined this will show the correct invisible count for anyone who does
* LUSERS on your server. On a large net this doesnt mean much, but on a
* small net it might be an advantage to undefine it.
* (This will get defined for you if you're using userload (stats w). -mlv)
*/
#define SHOW_INVISIBLE_LUSERS
/** FAKELAG_CONFIGURABLE makes it possible to make certain classes exempted
* from 'fake lag' (that is, the artificial delay that is added by the ircd
* to prevent flooding, which causes the messages/commands of the user to
-3
View File
@@ -30,9 +30,6 @@ MODVAR char serveropts[] = {
'F',
/* Hub (always) */
'h',
#ifdef SHOW_INVISIBLE_LUSERS
'i',
#endif
/* NOSPOOF (always) */
'n',
#ifdef VALLOC
-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]++;
}