aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/usermanager.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua
index 01beb27a..baf48464 100644
--- a/core/usermanager.lua
+++ b/core/usermanager.lua
@@ -48,7 +48,8 @@ local function host_handler(host)
host_session.users = new_null_provider();
end
end);
-end
+ host_session.users = new_null_provider(); -- Start with the default usermanager provider
+end;
prosody.events.add_handler("host-activated", host_handler, 100);
prosody.events.add_handler("component-activated", host_handler, 100);