Modify pandora_cps_enabled function
This commit is contained in:
parent
ea0a0969b8
commit
f773230ebf
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue