Update usermanager to not crash, etc.

This commit is contained in:
Jeff Mitchell 2010-05-20 14:18:12 -04:00
parent 29a91eb973
commit c316b28787
2 changed files with 9 additions and 8 deletions

View file

@ -123,7 +123,7 @@ local error_messages = setmetatable({
hosts = prosody.hosts;
local function make_host(hostname)
return { events = prosody.events, users = require "core.usermanager".new_default_provider(hostname) };
return { events = prosody.events, users = require "core.usermanager".new_null_provider(hostname) };
end
for hostname, config in pairs(config.getconfig()) do