Software /
code /
prosody
Changeset
5666:c1e1b265ee82
Merge 0.9->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 10 Jun 2013 14:37:02 +0200 |
parents | 5664:4f499eb63c04 (current diff) 5665:da1881e1b35b (diff) |
children | 5667:0bf1cdea43f6 |
files | plugins/mod_admin_telnet.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Sun Jun 09 17:03:15 2013 +0200 +++ b/plugins/mod_admin_telnet.lua Mon Jun 10 14:37:02 2013 +0200 @@ -991,7 +991,7 @@ local username, host = jid_split(jid); if not hosts[host] then return nil, "No such host: "..host; - elseif um.user_exists(username, host) then + elseif not um.user_exists(username, host) then return nil, "No such user"; end local ok, err = um.set_password(username, password, host);