diff options
Diffstat (limited to 'core/usermanager.lua')
-rw-r--r-- | core/usermanager.lua | 4 |
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); |