# HG changeset patch # User Kim Alvefur # Date 1509998610 -3600 # Node ID b5266358624348a75ffc95f98994e43269397e88 # Parent af7b41a0ec9ee7f68fdda89984c2344382ec54e4 mod_pubsub: Update node config names (should have been in 2abbb01cd756) (thanks lovetox) diff -r af7b41a0ec9e -r b52663586243 plugins/mod_pubsub/pubsub.lib.lua --- a/plugins/mod_pubsub/pubsub.lib.lua Fri Nov 03 15:44:43 2017 +0100 +++ b/plugins/mod_pubsub/pubsub.lib.lua Mon Nov 06 21:03:30 2017 +0100 @@ -437,7 +437,7 @@ local get_set = {}; function get_set:items() -- luacheck: ignore 212/self local data, err = archive:find(user, { - limit = tonumber(config["pubsub#max_items"]); + limit = tonumber(config["max_items"]); reverse = true; }); if not data then