Browse Source

[Minor] Add missing actions

tags/1.9.0
Vsevolod Stakhov 5 years ago
parent
commit
da346dc41d
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      src/libserver/cfg_utils.c

+ 8
- 0
src/libserver/cfg_utils.c View File

@@ -2266,6 +2266,10 @@ rspamd_action_to_str (enum rspamd_action_type action)
return "invalid max action";
case METRIC_ACTION_CUSTOM:
return "custom";
case METRIC_ACTION_MILTER_DISCARD:
return "discard";
case METRIC_ACTION_MILTER_QUARANTINE:
return "quarantine";
}

return "unknown action";
@@ -2291,6 +2295,10 @@ rspamd_action_to_str_alt (enum rspamd_action_type action)
return "invalid max action";
case METRIC_ACTION_CUSTOM:
return "custom";
case METRIC_ACTION_MILTER_DISCARD:
return "discard";
case METRIC_ACTION_MILTER_QUARANTINE:
return "quarantine";
}

return "unknown action";

Loading…
Cancel
Save