aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 03e174637..456de2928 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -297,7 +297,7 @@ static gboolean rspamd_controller_check_password(
const struct rspamd_controller_pbkdf *pbkdf = NULL;
/* Access list logic */
- if (!rspamd_inet_address_get_af (session->from_addr) == AF_UNIX) {
+ if (rspamd_inet_address_get_af (session->from_addr) == AF_UNIX) {
msg_info ("allow unauthorized connection from a unix socket");
return TRUE;
}