diff --git a/includes/services/ircd/check.inc b/includes/services/ircd/check.inc index cecfcb6d4..80b540a5b 100644 --- a/includes/services/ircd/check.inc +++ b/includes/services/ircd/check.inc @@ -4,10 +4,10 @@ $check = shell_exec($config['nagios_plugins'] . "/check_ircd -H ".$service['host list($check, $time) = split("\|", $check); -if(strstr($check, "IRCD ok")) { - $status = '1'; +if (strstr($check, "IRCD ok")) { + $status = '1'; } else { - $status = '0'; + $status = '0'; } ?>