aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit999a5a0cb3e13f5922d5c64418162ff463f1abd7 (patch)
tree3f8f8b54a2965d1a317b87e2a2b0205d8c4e11e7 /plugins
parent2957bd81cbcab588ff96fa755ee164d85859ab7d (diff)
parentc3ee155f3be5a463ecbca824a829b139da51756d (diff)
downloadprosody-999a5a0cb3e13f5922d5c64418162ff463f1abd7.tar.gz
prosody-999a5a0cb3e13f5922d5c64418162ff463f1abd7.zip
Merge 0.9->0.10
Diffstat (limited to 'plugins')
-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