Merge pull request #3116 from gberkes/v3/remove_this_conditional_structure

Deleted redundant code in 'ModSecurity::serverLog(...)'.
This commit is contained in:
Ervin Hegedus
2024-08-02 16:33:07 +02:00
committed by GitHub

View File

@@ -210,10 +210,6 @@ void ModSecurity::serverLog(void *data, std::shared_ptr<RuleMessage> rm) {
if (m_logProperties & RuleMessageLogProperty) {
const void *a = static_cast<const void *>(rm.get());
if (m_logProperties & IncludeFullHighlightLogProperty) {
m_logCb(data, a);
return;
}
m_logCb(data, a);
return;
}