Reset absoluteinterval when parsing a new module.

Fixes pandora_enterprise#12368.
This commit is contained in:
Ramon Novoa 2023-10-31 11:45:19 +01:00
parent b5098ab0e5
commit 29c29ef562
1 changed files with 2 additions and 1 deletions

View File

@ -4089,7 +4089,7 @@ sub grep_logs {
return @data;
}
sub create_log($$){
sub create_log {
my ($module_name, @data) = @_;
# No data
@ -4282,6 +4282,7 @@ sub init_module ($) {
$module->{'macros'} = {};
$module->{'alert_template'} = undef;
$module->{'filter'} = undef;
$module->{'absoluteinterval'} = undef;
}
################################################################################