aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-02-21 10:45:24 +0100
committerKim Alvefur <zash@zash.se>2015-02-21 10:45:24 +0100
commit9ed000c898c88bf13d372b77afcf986ff937ca5b (patch)
treebe2b22a52a3523d84b2550ded4489cd85efecc31 /net/dns.lua
parent075278ff98d8d5d8026b07b277cef08a474a6eec (diff)
downloadprosody-9ed000c898c88bf13d372b77afcf986ff937ca5b.tar.gz
prosody-9ed000c898c88bf13d372b77afcf986ff937ca5b.zip
net.*: Remove use of module() function
Diffstat (limited to 'net/dns.lua')
-rw-r--r--net/dns.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dns.lua b/net/dns.lua
index 992f3986..acc1556c 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -71,8 +71,8 @@ local get, set = ztact.get, ztact.set;
local default_timeout = 15;
-------------------------------------------------- module dns
-module('dns')
-local dns = _M;
+local _ENV = nil;
+local dns = {};
-- dns type & class codes ------------------------------ dns type & class codes