From 5802626437422a7bd18fc00c57688b5ba665e019 Mon Sep 17 00:00:00 2001 From: gberkes Date: Thu, 28 Mar 2024 20:12:30 +0100 Subject: [PATCH] Deleted redundant code in 'ModSecurity::serverLog(...)'. --- src/modsecurity.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modsecurity.cc b/src/modsecurity.cc index 854ec31e..809b5c3e 100644 --- a/src/modsecurity.cc +++ b/src/modsecurity.cc @@ -210,10 +210,6 @@ void ModSecurity::serverLog(void *data, std::shared_ptr rm) { if (m_logProperties & RuleMessageLogProperty) { const void *a = static_cast(rm.get()); - if (m_logProperties & IncludeFullHighlightLogProperty) { - m_logCb(data, a); - return; - } m_logCb(data, a); return; }