Changeset

8374:b52663586243

mod_pubsub: Update node config names (should have been in 2abbb01cd756) (thanks lovetox)
author Kim Alvefur <zash@zash.se>
date Mon, 06 Nov 2017 21:03:30 +0100
parents 8373:af7b41a0ec9e
children 8375:e2037634cdd9
files plugins/mod_pubsub/pubsub.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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