1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-29 23:56:38 +02:00
This commit is contained in:
griever
2002-01-06 04:09:44 +00:00
parent 2ed3bf18df
commit ff4517fa8a
+3 -3
View File
@@ -365,7 +365,7 @@ int check_for_target_limit(aClient *sptr, void *target, const char *name)
return 0;
}
if (TSTime() < sptr->user->nexttarget)
if (TStime() < sptr->user->nexttarget)
{
sptr->since += TARGET_DELAY; /* lag them up */
sptr->user->nexttarget += TARGET_DELAY;
@@ -373,9 +373,9 @@ int check_for_target_limit(aClient *sptr, void *target, const char *name)
return 1;
}
if (TSTime() > sptr->user->nexttarget + TARGET_DELAY*MAXTARGETS)
if (TStime() > sptr->user->nexttarget + TARGET_DELAY*MAXTARGETS)
{
sptr->user->nexttarget = TSTime() + TARGET_DELAY*MAXTARGETS;
sptr->user->nexttarget = TStime() + TARGET_DELAY*MAXTARGETS;
}
sptr->user->nexttarget += TARGET_DELAY;