From e53ef27a1c6e620cc79bb8a4ef0a12dbe9cd0eb7 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 26 Mar 2023 16:51:33 +0200 Subject: core.usermanager: Correct formatting of not implemented error Spaces, no hyphen, apparently. --- plugins/mod_admin_shell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3