Modify pandora_cps_enabled function

This commit is contained in:
felix.suarez 2023-11-09 16:18:06 -05:00
parent ea0a0969b8
commit f773230ebf
1 changed files with 2 additions and 2 deletions

View File

@ -5778,9 +5778,9 @@ sub pandora_inhibit_alerts {
sub pandora_cps_enabled($$) {
my ($agent, $module) = @_;
return 1 if ($agent->{'cps'} > 0);
return 1 if ($agent->{'cps'} >= 0);
return 1 if ($module->{'cps'} > 0);
return 1 if ($module->{'cps'} >= 0);
return 0;
}