This commit is contained in:
mkosmach 2026-06-25 00:18:44 +00:00 committed by GitHub
commit f58be3541c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,7 +137,7 @@ XMPP = {
options = options or {},
auth = { mechs = {} } }
o.options.timeout = o.options.timeout and o.options.timeout or 10
o.servername = stdnse.get_hostname(host) or o.options.servername
o.servername = o.options.servername or stdnse.get_hostname(host)
setmetatable(o, self)
self.__index = self
return o