diff options
author | Kim Alvefur <zash@zash.se> | 2013-06-10 14:37:02 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-06-10 14:37:02 +0200 |
commit | 2b974f31e049aad7b8087b133fb65f9718923a61 (patch) | |
tree | f747cec5628a781bedbf4869bfdd57c3f1ec5a81 /plugins | |
parent | 0086d5819d632016a5795c9718be2f35c22ac8f5 (diff) | |
parent | 36910d3b8861030001ddc2c7fdd8fbe0f34887f9 (diff) | |
download | prosody-2b974f31e049aad7b8087b133fb65f9718923a61.tar.gz prosody-2b974f31e049aad7b8087b133fb65f9718923a61.zip |
Merge 0.9->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 0fcb96b3..73c4a578 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -991,7 +991,7 @@ function def_env.user:password(jid, password) 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); |