Software /
code /
prosody
Comparison
plugins/mod_blocklist.lua @ 6531:18f4973849b1
mod_blocklist: Fix import
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 09 Dec 2014 19:36:34 +0100 |
parent | 6495:44df423f8290 |
child | 6629:42aeb882b3e1 |
comparison
equal
deleted
inserted
replaced
6530:35ebcb733c4c | 6531:18f4973849b1 |
---|---|
11 | 11 |
12 local user_exists = require"core.usermanager".user_exists; | 12 local user_exists = require"core.usermanager".user_exists; |
13 local is_contact_subscribed = require"core.rostermanager".is_contact_subscribed; | 13 local is_contact_subscribed = require"core.rostermanager".is_contact_subscribed; |
14 local st = require"util.stanza"; | 14 local st = require"util.stanza"; |
15 local st_error_reply = st.error_reply; | 15 local st_error_reply = st.error_reply; |
16 local jid_prep, jid_split = import("jid", "prep", "split"); | 16 local jid_prep, jid_split = import("util.jid", "prep", "split"); |
17 | 17 |
18 local host = module.host; | 18 local host = module.host; |
19 local storage = module:open_store(); | 19 local storage = module:open_store(); |
20 local sessions = prosody.hosts[host].sessions; | 20 local sessions = prosody.hosts[host].sessions; |
21 | 21 |