aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-10-18 09:24:35 +0200
committerKim Alvefur <zash@zash.se>2017-10-18 09:24:35 +0200
commit1fc4aa1192c084fd094c07da26aefe0a99b7c1f6 (patch)
tree619953263bc3cb2f592323d6de0f3888fb6e97a6
parent3233a819e3b37d15e67c338ec6ad79f8430138cc (diff)
downloadprosody-1fc4aa1192c084fd094c07da26aefe0a99b7c1f6.tar.gz
prosody-1fc4aa1192c084fd094c07da26aefe0a99b7c1f6.zip
mod_pep_plus, mod_pubsub: Remove unused reference to pubsub.lib handlers [luacheck]
-rw-r--r--plugins/mod_pep_plus.lua1
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua1
2 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_pep_plus.lua b/plugins/mod_pep_plus.lua
index 9d5cca83..32e60fd4 100644
--- a/plugins/mod_pep_plus.lua
+++ b/plugins/mod_pep_plus.lua
@@ -13,7 +13,6 @@ local xmlns_pubsub_event = "http://jabber.org/protocol/pubsub#event";
local xmlns_pubsub_owner = "http://jabber.org/protocol/pubsub#owner";
local lib_pubsub = module:require "pubsub";
-local handlers = lib_pubsub.handlers;
local empty_set = set_new();
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 4f835ac2..6ebbe765 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -17,7 +17,6 @@ local enable_persistence = module:get_option_boolean("experimental_pubsub_item_p
local service;
local lib_pubsub = module:require "pubsub";
-local handlers = lib_pubsub.handlers;
module:depends("disco");
module:add_identity("pubsub", "service", pubsub_disco_name);