author | Kim Alvefur <zash@zash.se> |
Mon, 03 Sep 2012 04:22:40 +0200 | |
changeset 5112 | 8b94a8d92cf3 |
parent 5111 | 7e577727fb9f |
child 5113 | 3393cab2dd6b |
--- a/plugins/mod_s2s/s2sout.lib.lua Fri Aug 31 17:31:35 2012 +0200 +++ b/plugins/mod_s2s/s2sout.lib.lua Mon Sep 03 04:22:40 2012 +0200 @@ -94,7 +94,7 @@ handle = adns.lookup(function (answer) handle = nil; host_session.connecting = nil; - if answer then + if answer and #answer > 0 then log("debug", "%s has SRV records, handling...", to_host); local srv_hosts = {}; host_session.srv_hosts = srv_hosts;