diff options
author | Kim Alvefur <zash@zash.se> | 2015-02-21 10:45:24 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-02-21 10:45:24 +0100 |
commit | 69652ea24bf1d52aa3ee7871f5c67d56c92cfb11 (patch) | |
tree | be2b22a52a3523d84b2550ded4489cd85efecc31 /net/dns.lua | |
parent | 27265c20e21d071bc96171da9b8707aec6ea669b (diff) | |
download | prosody-69652ea24bf1d52aa3ee7871f5c67d56c92cfb11.tar.gz prosody-69652ea24bf1d52aa3ee7871f5c67d56c92cfb11.zip |
net.*: Remove use of module() function
Diffstat (limited to 'net/dns.lua')
-rw-r--r-- | net/dns.lua | 4 |
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 |