Software /
code /
prosody
Comparison
plugins/mod_pubsub/mod_pubsub.lua @ 8339:4fce6bc0719f
mod_pep_plus, mod_pubsub: Remove unused reference to pubsub.lib handlers [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 18 Oct 2017 09:24:35 +0200 |
parent | 8337:dc4ea43ac463 |
child | 8340:7c1fb8c042dc |
comparison
equal
deleted
inserted
replaced
8338:30d8157391e9 | 8339:4fce6bc0719f |
---|---|
15 local enable_persistence = module:get_option_boolean("experimental_pubsub_item_persistence", false); | 15 local enable_persistence = module:get_option_boolean("experimental_pubsub_item_persistence", false); |
16 | 16 |
17 local service; | 17 local service; |
18 | 18 |
19 local lib_pubsub = module:require "pubsub"; | 19 local lib_pubsub = module:require "pubsub"; |
20 local handlers = lib_pubsub.handlers; | |
21 | 20 |
22 module:depends("disco"); | 21 module:depends("disco"); |
23 module:add_identity("pubsub", "service", pubsub_disco_name); | 22 module:add_identity("pubsub", "service", pubsub_disco_name); |
24 module:add_feature("http://jabber.org/protocol/pubsub"); | 23 module:add_feature("http://jabber.org/protocol/pubsub"); |
25 | 24 |