summaryrefslogtreecommitdiffstats
path: root/src/smtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smtp.c')
-rw-r--r--src/smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smtp.c b/src/smtp.c
index c1e8765e4..075e1b663 100644
--- a/src/smtp.c
+++ b/src/smtp.c
@@ -977,7 +977,7 @@ start_smtp (struct rspamd_worker *worker)
event_add (&worker->bind_ev, NULL);
/* Maps events */
- start_map_watch (ctx->ev_base);
+ start_map_watch (worker->srv->cfg, ctx->ev_base);
/* DNS resolver */
ctx->resolver = dns_resolver_init (ctx->ev_base, worker->srv->cfg);