aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/usermanager.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua
index ccbf5fb5..01beb27a 100644
--- a/core/usermanager.lua
+++ b/core/usermanager.lua
@@ -78,6 +78,10 @@ function get_supported_methods(host)
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);