aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index 4cfe27771..ad7f12674 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -371,7 +371,7 @@ accept_socket (EV_P_ ev_io *w, int revents)
session->ctx = ctx;
session->worker = worker;
- if (ctx->encrypted_only && !rspamd_inet_address_is_local (addr, FALSE)) {
+ if (ctx->encrypted_only && !rspamd_inet_address_is_local (addr)) {
http_opts = RSPAMD_HTTP_REQUIRE_ENCRYPTION;
}