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
commit69652ea24bf1d52aa3ee7871f5c67d56c92cfb11 (patch)
treebe2b22a52a3523d84b2550ded4489cd85efecc31 /net/dns.lua
parent27265c20e21d071bc96171da9b8707aec6ea669b (diff)
downloadprosody-69652ea24bf1d52aa3ee7871f5c67d56c92cfb11.tar.gz
prosody-69652ea24bf1d52aa3ee7871f5c67d56c92cfb11.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