aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-07-25 13:02:46 +0100
committerMatthew Wild <mwild1@gmail.com>2014-07-25 13:02:46 +0100
commit53a3acbd83208942350577bbe2666c0cd63f3459 (patch)
tree56c01e1263e5c9fb3d1b580179e3bbaf119530b3 /plugins/mod_admin_telnet.lua
parented90b8cac29a9890dc93d0f43b8cee84c960a1f1 (diff)
parent9d6c2816c42ff0431b6353505443b3ddb9d9f936 (diff)
downloadprosody-53a3acbd83208942350577bbe2666c0cd63f3459.tar.gz
prosody-53a3acbd83208942350577bbe2666c0cd63f3459.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 0b96b68d..d20bcc7b 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -1073,12 +1073,12 @@ function def_env.dns:lookup(name, typ, class)
end
function def_env.dns:addnameserver(...)
- dns.addnameserver(...)
+ dns._resolver:addnameserver(...)
return true
end
function def_env.dns:setnameserver(...)
- dns.setnameserver(...)
+ dns._resolver:setnameserver(...)
return true
end