This commit is contained in:
root 2018-08-08 17:10:33 +02:00
parent 4e1757833f
commit 8da5d79aa3

View File

@ -335,11 +335,8 @@ sub on_public {
printf CMDPIPE "[%lu] SCHEDULE_FORCED_SVC_CHECK;%s;%s;%lu\n",time(),$host,$svc,time();
printf "[%lu] SCHEDULE_FORCED_SVC_CHECK;%s;%s;%lu\n",time(),$host,$svc,time();
close CMDPIPE;
if ( scalar @ACKS <= $FLOOD_MAX )
{
usleep ( $USLEEP_TIME );
$conn->privmsg([ @to ], sprintf ( "Recheck forcé pour %s: %s", $host, $svc ) );
}
&refresh ();
my $msg;
if( scalar @ACKS == 0 or scalar @ACKS == 1) {