diff options
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r-- | src/cfg_xml.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c index d66912ab9..edd8c9a17 100644 --- a/src/cfg_xml.c +++ b/src/cfg_xml.c @@ -919,6 +919,10 @@ worker_handle_type (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GH wrk->type = TYPE_GREYLIST; wrk->has_socket = FALSE; } + else if (g_ascii_strcasecmp (data, "keystorage") == 0) { + wrk->type = TYPE_KVSTORAGE; + wrk->has_socket = TRUE; + } else { msg_err ("unknown worker type: %s", data); return FALSE; |