Skip to content

Commit b6d218f

Browse files
authored
Merge pull request #3116 from gberkes/v3/remove_this_conditional_structure
Deleted redundant code in 'ModSecurity::serverLog(...)'.
2 parents 97c3d15 + 5802626 commit b6d218f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/modsecurity.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,6 @@ void ModSecurity::serverLog(void *data, std::shared_ptr<RuleMessage> rm) {
210210

211211
if (m_logProperties & RuleMessageLogProperty) {
212212
const void *a = static_cast<const void *>(rm.get());
213-
if (m_logProperties & IncludeFullHighlightLogProperty) {
214-
m_logCb(data, a);
215-
return;
216-
}
217213
m_logCb(data, a);
218214
return;
219215
}

0 commit comments

Comments
 (0)