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:
@@ -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
|
||||
|
||||
@@ -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--;
|
||||
|
||||
@@ -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--;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user