aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-06-04 13:53:07 +0100
committerMatthew Wild <mwild1@gmail.com>2010-06-04 13:53:07 +0100
commitf3ff843e2cf724c92e9f98115913857a8b820710 (patch)
tree5662c8c2d0fa97ac6e3e7cb735ddfd2551b9047b
parentbf495a7c628d29615bc1d931b69ca9670dc6f572 (diff)
downloadprosody-f3ff843e2cf724c92e9f98115913857a8b820710.tar.gz
prosody-f3ff843e2cf724c92e9f98115913857a8b820710.zip
usermanager: Add hunk that got missed in a merge
-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);