--- a/core/usermanager.lua Thu May 27 10:54:11 2010 -0400 +++ b/core/usermanager.lua Fri May 28 14:47:32 2010 -0400 @@ -78,6 +78,10 @@ return hosts[host].users.get_supported_methods(); end +function get_provider(host) + return hosts[host].users; +end + function is_admin(jid, host) if host and host ~= "*" then return hosts[host].users.is_admin(jid);