changeset 14034:6a25e8658a72

Merge 13.0->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 12 Jan 2026 06:51:43 +0100
parents 74cfefea359d (current diff) fe024a5be7e6 (diff)
children 7915d8c519a1
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub/commands.lib.lua	Tue Jan 06 20:27:56 2026 +0100
+++ b/plugins/mod_pubsub/commands.lib.lua	Mon Jan 12 06:51:43 2026 +0100
@@ -44,7 +44,7 @@
 			local items = select(2, assert(service:get_items(node_name, true)));
 
 			local count = 0;
-			for item_name in pairs(items) do
+			for _, item_name in ipairs(items) do
 				count = count + 1;
 				self.session.print(item_name);
 			end