Просмотр исходного кода

[Dovecot] fix wrong lua syntax

FreddleSpl0it 2 лет назад
Родитель
Сommit
bb461bc0ad
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      data/Dockerfiles/dovecot/docker-entrypoint.sh

+ 1 - 1
data/Dockerfiles/dovecot/docker-entrypoint.sh

@@ -174,7 +174,7 @@ function auth_password_verify(request, password)
   if request.service == "smtp" or request.service == "imap" or request.service == "sieve" or request.service == "pop3" then
   if request.service == "smtp" or request.service == "imap" or request.service == "sieve" or request.service == "pop3" then
     skip_sasl_log = true
     skip_sasl_log = true
     req.protocol = {}
     req.protocol = {}
-    if tostring(req.real_rip) != "__IPV4_SOGO__" then
+    if tostring(req.real_rip) ~= "__IPV4_SOGO__" then
       skip_sasl_log = false
       skip_sasl_log = false
       req.protocol[request.service] = true
       req.protocol[request.service] = true
     end
     end