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

+- Removed INV_TRACK

This commit is contained in:
stskeeps
2000-08-19 15:09:38 +00:00
parent fe866e500b
commit c064f9d5e9
3 changed files with 1 additions and 33 deletions
+1
View File
@@ -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
-4
View File
@@ -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--;
-29
View File
@@ -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--;
}