diff options
Diffstat (limited to 'src/filter.c')
-rw-r--r-- | src/filter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/filter.c b/src/filter.c index 20b924cc0..311a9aa25 100644 --- a/src/filter.c +++ b/src/filter.c @@ -673,12 +673,13 @@ classifiers_callback (gpointer value, void *arg) g_hash_table_insert (task->tokens, cl->tokenizer, tokens); } + /* Take care of subject */ + tokenize_subject (task, &tokens); + if (tokens == NULL) { return; } - /* Take care of subject */ - tokenize_subject (task, &tokens); if (cbdata->nL != NULL) { rspamd_mutex_lock (cbdata->nL->m); cl->classifier->classify_func (ctx, task->worker->srv->statfile_pool, tokens, task, cbdata->nL->L); |