Software /
code /
prosody
Comparison
prosodyctl @ 5142:3221746f4769
prosodyctl: Make sure hosts[*].modules always exists.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 23 Sep 2012 01:11:20 +0500 |
parent | 5134:43c5227fdd3b |
child | 5143:a86efd60425f |
child | 5149:b3e9b3576056 |
comparison
equal
deleted
inserted
replaced
5134:43c5227fdd3b | 5142:3221746f4769 |
---|---|
223 | 223 |
224 local function make_host(hostname) | 224 local function make_host(hostname) |
225 return { | 225 return { |
226 type = "local", | 226 type = "local", |
227 events = prosody.events, | 227 events = prosody.events, |
228 modules = {}, | |
228 users = require "core.usermanager".new_null_provider(hostname) | 229 users = require "core.usermanager".new_null_provider(hostname) |
229 }; | 230 }; |
230 end | 231 end |
231 | 232 |
232 for hostname, config in pairs(config.getconfig()) do | 233 for hostname, config in pairs(config.getconfig()) do |