rename need_body to headersonly

This commit is contained in:
2021-09-09 11:34:47 +02:00
parent be715d8b01
commit 9b30bb68c4
2 changed files with 10 additions and 10 deletions

View File

@@ -255,7 +255,7 @@ class ModifyMilter(Milter.Base):
if action.conditions is None or \
action.conditions.match(host=self.IP):
actions.append(action)
if action.need_body():
if not action.headersonly():
self._headersonly = False
if actions: