mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-11971-16145-proteccion-en-cascada-de-modulos-no-funciona-cuando-hay-ff' into 'develop'
ent-11971-[#16145] Protección en cascada de módulos no funciona cuando hay FF See merge request artica/pandorafms!6645
This commit is contained in:
commit
89ec81e151
@ -5786,9 +5786,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…
x
Reference in New Issue
Block a user