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 | 08abe5eba3289a2b84ccd4af5c959e443da7e132 (patch) | |
tree | f747cec5628a781bedbf4869bfdd57c3f1ec5a81 /plugins | |
parent | 1e29dc5c934fd38f4318679eb58a5ef106107cca (diff) | |
parent | c08dad91e55dd158523c2b12fed9da7aa39f582f (diff) | |
download | prosody-08abe5eba3289a2b84ccd4af5c959e443da7e132.tar.gz prosody-08abe5eba3289a2b84ccd4af5c959e443da7e132.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); |