소스 검색

[Minor] Fix confusion

tags/3.0
Vsevolod Stakhov 2 년 전
부모
커밋
6adab61b4a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/plugins/lua/asn.lua

+ 1
- 1
src/plugins/lua/asn.lua 파일 보기

@@ -74,7 +74,7 @@ local function asn_check(task)
task:insert_result(options['symbol'] .. '_FAIL', 1, string.format('%s:%s', req_name, dns_err))
return
end
if not (results or results[1]) then
if not results or not results[1] then
rspamd_logger.infox(task, 'cannot query ip %s on %s: no results',
req_name, serv)
return

Loading…
취소
저장