# HG changeset patch # User Waqas Hussain # Date 1297267711 -18000 # Node ID beb5073b866aac301912f6054a5d20cff6906cee # Parent e4d5a1d3ff44cac677d82e518368920f523927be mod_srvinjection: Fix type in variable name. diff -r e4d5a1d3ff44 -r beb5073b866a mod_srvinjection/mod_srvinjection.lua --- 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;