Software /
code /
prosody
Changeset
6311:f44876548487
mod_admin_telnet: Fix dns:(add,set)nameservers()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 25 Jul 2014 13:59:17 +0200 |
parents | 6310:d232bb1bbe1e |
children | 6312:1940a014aeca 6314:8029b8a5f37a |
files | plugins/mod_admin_telnet.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Fri Jul 25 12:54:31 2014 +0100 +++ b/plugins/mod_admin_telnet.lua Fri Jul 25 13:59:17 2014 +0200 @@ -1058,12 +1058,12 @@ 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