Software /
code /
prosody
Diff
plugins/mod_admin_shell.lua @ 12993:623fbb5f9b05
core.usermanager: Correct formatting of not implemented error
Spaces, no hyphen, apparently.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Mar 2023 16:51:33 +0200 |
parent | 12992:651813914151 |
child | 13013:430333198e4c |
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua Sun Mar 26 16:45:34 2023 +0200 +++ b/plugins/mod_admin_shell.lua Sun Mar 26 16:51:33 2023 +0200 @@ -1535,7 +1535,7 @@ end local ok, err = um.enable_user(username, host); - if not ok and err ~= "method-not-implemented" then + if not ok and err ~= "method not implemented" then return nil, "Could not enable user: "..err; end end