aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-27 17:33:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-27 17:33:56 +0100
commit6e00dea760aca106de1021e5a9740b9511a6e0b2 (patch)
treedc5f5a67564d419f67ae03e63db45c8b81b822be /src/plugins/regexp.c
parentce9a26d98932473c449e5d4bf39dbb93a6d7a924 (diff)
downloadrspamd-6e00dea760aca106de1021e5a9740b9511a6e0b2.tar.gz
rspamd-6e00dea760aca106de1021e5a9740b9511a6e0b2.zip
Refactor and unify function names.
Diffstat (limited to 'src/plugins/regexp.c')
-rw-r--r--src/plugins/regexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index 2a9229b09..da2caab4a 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -142,7 +142,7 @@ regexp_module_config (struct rspamd_config *cfg)
res = FALSE;
}
else {
- register_symbol (cfg->cache,
+ rspamd_symbols_cache_add_symbol_normal (cfg->cache,
cur_item->symbol,
1,
process_regexp_item,
@@ -154,7 +154,7 @@ regexp_module_config (struct rspamd_config *cfg)
sizeof (struct regexp_module_item));
cur_item->symbol = ucl_object_key (value);
cur_item->lua_function = ucl_object_toclosure (value);
- register_symbol (cfg->cache,
+ rspamd_symbols_cache_add_symbol_normal (cfg->cache,
cur_item->symbol,
1,
process_regexp_item,