diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-27 15:33:40 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-27 15:33:40 +0100 |
commit | e64c5411ff18eea69861b6ea11574a39c7290b57 (patch) | |
tree | 81cdfad068f564a5bb4e64f2ec962bbbfdbc0f7a /src/plugins/chartable.c | |
parent | 9b6dc9034592b836915b57749aa42581e78cd9ff (diff) | |
download | rspamd-e64c5411ff18eea69861b6ea11574a39c7290b57.tar.gz rspamd-e64c5411ff18eea69861b6ea11574a39c7290b57.zip |
Fix plugins registration.
Diffstat (limited to 'src/plugins/chartable.c')
-rw-r--r-- | src/plugins/chartable.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c index 3efec040b..7c4372a13 100644 --- a/src/plugins/chartable.c +++ b/src/plugins/chartable.c @@ -60,8 +60,6 @@ struct chartable_ctx { }; static struct chartable_ctx *chartable_module_ctx = NULL; - -static gint chartable_mime_filter (struct rspamd_task *task); static void chartable_symbol_callback (struct rspamd_task *task, void *unused); gint @@ -102,7 +100,7 @@ chartable_module_config (struct rspamd_config *cfg) chartable_module_ctx->threshold = DEFAULT_THRESHOLD; } - register_symbol (&cfg->cache, + register_symbol (cfg->cache, chartable_module_ctx->symbol, 1, chartable_symbol_callback, |