From 91172308d6b888a34ee190ca703d7a80cfbd21bc Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 4 Jan 2022 23:16:02 +0100 Subject: mod_bookmarks: Remove compatibility with 0.11 --- plugins/mod_bookmarks.lua | 6 ------ 1 file changed, 6 deletions(-) (limited to 'plugins/mod_bookmarks.lua') diff --git a/plugins/mod_bookmarks.lua b/plugins/mod_bookmarks.lua index db74f340..a7cf695d 100644 --- a/plugins/mod_bookmarks.lua +++ b/plugins/mod_bookmarks.lua @@ -20,12 +20,6 @@ local default_options = { ["access_model"] = "whitelist"; }; -if not mod_pep.check_node_config(nil, nil, default_options) then - -- 0.11 or earlier not supporting max_items="max" trows an error here - module:log("debug", "Setting max_items=pep_max_items because 'max' is not supported in this version"); - default_options["max_items"] = module:get_option_number("pep_max_items", 256); -end - module:hook("account-disco-info", function (event) -- This Time it’s Serious! event.reply:tag("feature", { var = namespace.."#compat" }):up(); -- cgit v1.2.3