aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-26 16:51:33 +0200
committerKim Alvefur <zash@zash.se>2023-03-26 16:51:33 +0200
commite53ef27a1c6e620cc79bb8a4ef0a12dbe9cd0eb7 (patch)
treed096992923b4871f700b045944a8310aade2b7b1 /plugins
parent8720067f241ebc2a23b4d5ab9fb68beba9e61d53 (diff)
downloadprosody-e53ef27a1c6e620cc79bb8a4ef0a12dbe9cd0eb7.tar.gz
prosody-e53ef27a1c6e620cc79bb8a4ef0a12dbe9cd0eb7.zip
core.usermanager: Correct formatting of not implemented error
Spaces, no hyphen, apparently.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_shell.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index c652fa96..9268b372 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -1535,7 +1535,7 @@ function def_env.user:create(jid, password, role)
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