diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-11-18 14:33:03 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-11-18 14:33:03 +0000 |
commit | e8daf372c93689cf8ff0c4892d8377b14ac6bcaa (patch) | |
tree | e5c2dafe73827c1bf7047911fee6b53a82154cda | |
parent | c6eb530c0b5046c4c8bd4ca01f47b6fcd3a3bc72 (diff) | |
download | prosody-e8daf372c93689cf8ff0c4892d8377b14ac6bcaa.tar.gz prosody-e8daf372c93689cf8ff0c4892d8377b14ac6bcaa.zip |
prosodyctl: Give hosts type = 'local'
-rwxr-xr-x | prosodyctl | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -168,7 +168,11 @@ local error_messages = setmetatable({ 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 |