aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-07-25 13:01:57 +0100
committerMatthew Wild <mwild1@gmail.com>2014-07-25 13:01:57 +0100
commit9d6c2816c42ff0431b6353505443b3ddb9d9f936 (patch)
tree3f8f8b54a2965d1a317b87e2a2b0205d8c4e11e7 /plugins/mod_admin_telnet.lua
parent84b23d1546d1fc76ba603bbe1d89d9a35e24b6de (diff)
parentb9134d61df1554dbff3ab62391abe88e5da02c20 (diff)
downloadprosody-9d6c2816c42ff0431b6353505443b3ddb9d9f936.tar.gz
prosody-9d6c2816c42ff0431b6353505443b3ddb9d9f936.zip
Merge 0.9->0.10
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 66560d44..5388a0e6 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