diff options
-rw-r--r-- | lualib/rspamd_config_transform.lua | 2 | ||||
-rw-r--r-- | src/libserver/cfg_utils.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lualib/rspamd_config_transform.lua b/lualib/rspamd_config_transform.lua index 636372988..0823012ba 100644 --- a/lualib/rspamd_config_transform.lua +++ b/lualib/rspamd_config_transform.lua @@ -164,7 +164,7 @@ local function symbol_transform(cfg, k, v) end cfg.group.ungrouped.symbols[k] = v - logger.infox("adding symbol %s to the group 'ungrouped'", k) + logger.debugx("adding symbol %s to the group 'ungrouped'", k) end end diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 20f4dd163..5d0d94096 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -1449,6 +1449,9 @@ rspamd_config_new_symbol (struct rspamd_config *cfg, const gchar *symbol, /* Search for symbol group */ if (group == NULL) { group = "ungrouped"; + } + + if (strcmp (group, "ungrouped") == 0) { sym_def->flags |= RSPAMD_SYMBOL_FLAG_UNGROUPPED; } |