comparison mod_delegation/mod_delegation.lua @ 1991:a1d5214bd369

mod_delegation: fixed imports, using "/" instead of "." was causing caching issues
author Goffi <goffi@goffi.org>
date Mon, 21 Dec 2015 10:59:44 +0100
parents d7c1daaf2dea
children 107147ca77f7
comparison
equal deleted inserted replaced
1990:c4da3d9f212d 1991:a1d5214bd369
7 -- This module manage namespace delegation, a way to delegate server features 7 -- This module manage namespace delegation, a way to delegate server features
8 -- to an external entity/component. Only the admin mode is implemented so far 8 -- to an external entity/component. Only the admin mode is implemented so far
9 9
10 -- TODO: client mode 10 -- TODO: client mode
11 11
12 local jid = require("util/jid") 12 local jid = require("util.jid")
13 local st = require("util/stanza") 13 local st = require("util.stanza")
14 local set = require("util/set") 14 local set = require("util.set")
15 15
16 local delegation_session = module:shared("/*/delegation/session") 16 local delegation_session = module:shared("/*/delegation/session")
17 17
18 if delegation_session.connected_cb == nil then 18 if delegation_session.connected_cb == nil then
19 -- set used to have connected event listeners 19 -- set used to have connected event listeners