author | Waqas Hussain <waqas20@gmail.com> |
Wed, 09 Feb 2011 21:08:31 +0500 | |
changeset 337 | beb5073b866a |
parent 336 | e4d5a1d3ff44 |
child 338 | 6560fd0b77f5 |
--- a/mod_srvinjection/mod_srvinjection.lua Wed Feb 09 16:35:53 2011 +0500 +++ b/mod_srvinjection/mod_srvinjection.lua Wed Feb 09 21:08:31 2011 +0500 @@ -26,7 +26,7 @@ function adns.lookup(handler, qname, qtype, qclass) if qtype == "SRV" then local host = qname:match("^_xmpp%-server%._tcp%.(.*)%.$"); - local mapping = map[host] or mapping["*"]; + local mapping = map[host] or map["*"]; if mapping then handler(mapping); return;