plugins/mod_admin_shell.lua
changeset 12997 623fbb5f9b05
parent 12996 651813914151
child 13017 430333198e4c
--- 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