Changeset

337:beb5073b866a

mod_srvinjection: Fix type in variable name.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 09 Feb 2011 21:08:31 +0500
parents 336:e4d5a1d3ff44
children 338:6560fd0b77f5
files mod_srvinjection/mod_srvinjection.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;