aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/filter.c3
-rw-r--r--src/libmime/filter.h2
-rw-r--r--src/libmime/smtp_utils.c1
3 files changed, 0 insertions, 6 deletions
diff --git a/src/libmime/filter.c b/src/libmime/filter.c
index 9932b814d..5c3594665 100644
--- a/src/libmime/filter.c
+++ b/src/libmime/filter.c
@@ -30,7 +30,6 @@
#include "cfg_file.h"
#include "util.h"
#include "expressions.h"
-#include "settings.h"
#include "binlog.h"
#include "diff.h"
#include "classifiers/classifiers.h"
@@ -80,8 +79,6 @@ insert_metric_result (struct rspamd_task *task, struct metric *metric, const gch
metric_res->metric = metric;
metric_res->grow_factor = 0;
metric_res->score = 0;
- metric_res->domain_settings = NULL;
- metric_res->user_settings = NULL;
apply_metric_settings (task, metric, metric_res);
g_hash_table_insert (task->results, (gpointer) metric->name, metric_res);
}
diff --git a/src/libmime/filter.h b/src/libmime/filter.h
index 7c3f3e51e..2891ebd00 100644
--- a/src/libmime/filter.h
+++ b/src/libmime/filter.h
@@ -65,8 +65,6 @@ struct metric_result {
GHashTable *symbols; /**< symbols of metric */
gboolean checked; /**< whether metric result is consolidated */
double grow_factor; /**< current grow factor */
- struct rspamd_settings *user_settings; /**< settings for metric */
- struct rspamd_settings *domain_settings; /**< settings for metric */
};
/**
diff --git a/src/libmime/smtp_utils.c b/src/libmime/smtp_utils.c
index 5d8f94f64..28d4b6cf3 100644
--- a/src/libmime/smtp_utils.c
+++ b/src/libmime/smtp_utils.c
@@ -24,7 +24,6 @@
#include "config.h"
#include "main.h"
#include "filter.h"
-#include "settings.h"
#include "smtp.h"
#include "smtp_proto.h"