Mercurial > prosody-modules
comparison mod_privilege/mod_privilege.lua @ 1990:c4da3d9f212d
mod_privilege: fixed imports, using "/" instead of "." was causing caching issues
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 21 Dec 2015 10:59:22 +0100 |
parents | 2c9b227dd580 |
children | e9226e3bdeba |
comparison
equal
deleted
inserted
replaced
1989:2c9b227dd580 | 1990:c4da3d9f212d |
---|---|
6 -- | 6 -- |
7 -- Some parts come from mod_remote_roster (module by Waqas Hussain and Kim Alvefur, see https://code.google.com/p/prosody-modules/) | 7 -- Some parts come from mod_remote_roster (module by Waqas Hussain and Kim Alvefur, see https://code.google.com/p/prosody-modules/) |
8 | 8 |
9 -- TODO: manage external <presence/> (for "roster" presence permission) when the account with the roster is offline | 9 -- TODO: manage external <presence/> (for "roster" presence permission) when the account with the roster is offline |
10 | 10 |
11 local jid = require("util/jid") | 11 local jid = require("util.jid") |
12 local set = require("util/set") | 12 local set = require("util.set") |
13 local st = require("util/stanza") | 13 local st = require("util.stanza") |
14 local roster_manager = require("core/rostermanager") | 14 local roster_manager = require("core.rostermanager") |
15 local usermanager_user_exists = require "core.usermanager".user_exists; | 15 local usermanager_user_exists = require "core.usermanager".user_exists; |
16 local hosts = prosody.hosts | 16 local hosts = prosody.hosts |
17 local full_sessions = prosody.full_sessions; | 17 local full_sessions = prosody.full_sessions; |
18 | 18 |
19 local priv_session = module:shared("/*/privilege/session") | 19 local priv_session = module:shared("/*/privilege/session") |