[Dovecot] fix wrong lua syntax

This commit is contained in:
FreddleSpl0it 2023-04-04 10:47:29 +02:00
parent 8e90c4b2be
commit c25124b76e
No known key found for this signature in database
GPG Key ID: 00E14E7634F4BEC5
1 changed files with 1 additions and 1 deletions

View File

@ -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
skip_sasl_log = true
req.protocol = {}
if tostring(req.real_rip) != "__IPV4_SOGO__" then
if tostring(req.real_rip) ~= "__IPV4_SOGO__" then
skip_sasl_log = false
req.protocol[request.service] = true
end