core/usermanager.lua

changeset 3162
546695e80e0a
parent 3161
3c46cb94caed
child 3171
f77759710324
--- 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);

mercurial