Diff

plugins/mod_pubsub/pubsub.lib.lua @ 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
parent 8340:7c1fb8c042dc
child 8375:e2037634cdd9
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