Thu, 18 Nov 2010 14:33:03 +0000
prosodyctl: Give hosts type = 'local'
prosodyctl | file | annotate | diff | comparison | revisions |
--- a/prosodyctl Wed Nov 17 15:58:32 2010 +0100 +++ b/prosodyctl Thu Nov 18 14:33:03 2010 +0000 @@ -168,7 +168,11 @@ hosts = prosody.hosts; local function make_host(hostname) - return { events = prosody.events, users = require "core.usermanager".new_null_provider(hostname) }; + return { + type = "local", + events = prosody.events, + users = require "core.usermanager".new_null_provider(hostname) + }; end for hostname, config in pairs(config.getconfig()) do