Software /
code /
prosody
Diff
net/dns.lua @ 6780:647adfd8f738
net.*: Remove use of module() function
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 21 Feb 2015 10:45:24 +0100 |
parent | 6753:33426c56f5d5 |
child | 6857:86fcc3fa1a97 |
line wrap: on
line diff
--- a/net/dns.lua Sat Feb 21 10:42:19 2015 +0100 +++ b/net/dns.lua Sat Feb 21 10:45:24 2015 +0100 @@ -71,8 +71,8 @@ local default_timeout = 15; -------------------------------------------------- module dns -module('dns') -local dns = _M; +local _ENV = nil; +local dns = {}; -- dns type & class codes ------------------------------ dns type & class codes