Commit e7ec247f authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Modify warning (#1664)

parent 2e5b9795
......@@ -629,18 +629,17 @@ sub tests {
return 1;
},
# # Warn if IdSpoofing plugin is enabled
# checkIdSpoofing => sub {
# return 1 unless ( $conf->{idSpoofing} );
# return ( -1,
# '"IdSpoofing" plugin is enabled!!!'
# )
# if ( $conf->{idSpoofing} );
# # Return
# return 1;
# },
# Warn if IdSpoofing plugin is disabled by rule
checkIdSpoofing => sub {
return 1 unless ( $conf->{idSpoofing} );
return ( -1,
'"IdSpoofing" plugin is disabled by rule!!!'
)
unless ( $conf->{idSpoofingRule} );
# Return
return 1;
},
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment