From 1fc4aa1192c084fd094c07da26aefe0a99b7c1f6 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 18 Oct 2017 09:24:35 +0200 Subject: mod_pep_plus, mod_pubsub: Remove unused reference to pubsub.lib handlers [luacheck] --- plugins/mod_pep_plus.lua | 1 - plugins/mod_pubsub/mod_pubsub.lua | 1 - 2 files changed, 2 deletions(-) (limited to 'plugins') 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); -- cgit v1.2.3