diff options
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c index d66af2d0c..0ce93164d 100644 --- a/src/lua/lua_config.c +++ b/src/lua/lua_config.c @@ -2899,12 +2899,12 @@ lua_config_newindex (lua_State *L) } lua_pop (L, 1); if (group) { - if (sym->flags & RSPAMD_SYMBOL_FLAG_UNGROUPPED) - { + if (sym->flags & RSPAMD_SYMBOL_FLAG_UNGROUPPED) { /* Unset the "ungrouped" group */ sym->gr = NULL; } - /* Add the group */ + /* Add the group. If the symbol was ungrouped, this will + * clear RSPAMD_SYMBOL_FLAG_UNGROUPPED from the flags. */ rspamd_config_add_symbol_group (cfg, name, group); } } |