diff options
author | Kim Alvefur <zash@zash.se> | 2014-07-25 13:59:17 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-07-25 13:59:17 +0200 |
commit | c3ee155f3be5a463ecbca824a829b139da51756d (patch) | |
tree | ec39fc893f011cd3a0eb21fdb380ef6af221a32f /plugins/mod_admin_telnet.lua | |
parent | 7ff1520d7df876006a7c4bba2bf36c4792fa7bd5 (diff) | |
download | prosody-c3ee155f3be5a463ecbca824a829b139da51756d.tar.gz prosody-c3ee155f3be5a463ecbca824a829b139da51756d.zip |
mod_admin_telnet: Fix dns:(add,set)nameservers()
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 6f02f030..671b6d89 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -1058,12 +1058,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 |