From c064f9d5e9e5d7c45ddea3e0309f021b376bb76b Mon Sep 17 00:00:00 2001 From: stskeeps Date: Sat, 19 Aug 2000 15:09:38 +0000 Subject: [PATCH] +- Removed INV_TRACK --- Changes | 1 + src/list.c | 4 ---- src/s_user.c | 29 ----------------------------- 3 files changed, 1 insertion(+), 33 deletions(-) diff --git a/Changes b/Changes index 3519825db..4fbd59452 100644 --- a/Changes +++ b/Changes @@ -565,3 +565,4 @@ - Fixed some empty-line/missing parameter stuff in dccdeny, vhost, and dynconf, chrestrict - Made vhost strip too long vhosts +- Removed INV_TRACK diff --git a/src/list.c b/src/list.c index 5d2e2b703..4b71f6f6d 100644 --- a/src/list.c +++ b/src/list.c @@ -273,10 +273,6 @@ void remove_client_from_list(cptr) if (IsInvisible(cptr)) { IRCstats.invisible--; -#ifdef INV_TRACK - ircd_log("invisible-- in %s at %s, for %s client", - __FILE__, __LINE__, (MyClient(cptr) ? "MY" : "REMOTE")); -#endif } if (IsOper(cptr)) IRCstats.operators--; diff --git a/src/s_user.c b/src/s_user.c index 9fcbc2952..fe8beab4e 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -926,10 +926,6 @@ static int register_user(cptr, sptr, nick, username, umode, virthost) } if (sptr->umodes & UMODE_INVISIBLE) { -#ifdef INV_TRACK - ircd_log("invisible++ in %s:%s for %s client", - __FILE__, __LINE__, MyClient(sptr) ? "MY" : "REMOTE"); -#endif IRCstats.invisible++; } @@ -4439,19 +4435,10 @@ int m_umode(cptr, sptr, parc, parv) } if (!(setflags & UMODE_INVISIBLE) && IsInvisible(sptr)) { -#ifdef INV_TRACK - ircd_log("invisible++ in %s:%s for %s client", - __FILE__, __LINE__, MyClient(sptr) ? "MY" : "REMOTE"); -#endif IRCstats.invisible++; } if ((setflags & UMODE_INVISIBLE) && !IsInvisible(sptr)) { -#ifdef INV_TRACK - ircd_log("invisible-- in %s:%s for %s client", - __FILE__, __LINE__, MyClient(sptr) ? "MY" : "REMOTE"); -#endif - IRCstats.invisible--; } /* @@ -4553,18 +4540,10 @@ int m_svs2mode(cptr, sptr, parc, parv) case 'i': if (what == MODE_ADD) { -#ifdef INV_TRACK - ircd_log("invisible++ in %s:%s for %s client", - __FILE__, __LINE__, MyClient(sptr) ? "MY" : "REMOTE"); -#endif IRCstats.invisible++; } if (what == MODE_DEL) { -#ifdef INV_TRACK - ircd_log("invisible-- in %s:%s for %s client", - __FILE__, __LINE__, MyClient(sptr) ? "MY" : "REMOTE"); -#endif IRCstats.invisible--; } goto setmodey; @@ -4658,18 +4637,10 @@ int m_svsmode(cptr, sptr, parc, parv) case 'i': if (what == MODE_ADD) { -#ifdef INV_TRACK - ircd_log("invisible++ in %s:%s for %s client", - __FILE__, __LINE__, MyClient(sptr) ? "MY" : "REMOTE"); -#endif IRCstats.invisible++; } if (what == MODE_DEL) { -#ifdef INV_TRACK - ircd_log("invisible-- in %s:%s for %s client", - __FILE__, __LINE__, MyClient(sptr) ? "MY" : "REMOTE"); -#endif IRCstats.invisible--; }