# HG changeset patch # User Kim Alvefur # Date 1479573294 -3600 # Node ID 29c20eefa3063dfa04101a17f47082b0b67a247f # Parent 82333dfdfaff6f4e24a52e5746538ff4df71d36c util.pubsub: Fix item retrieval by including the item order as it was before using util.cache (thanks walduhu) diff -r 82333dfdfaff -r 29c20eefa306 util/pubsub.lua --- a/util/pubsub.lua Fri Nov 18 14:08:38 2016 +0100 +++ b/util/pubsub.lua Sat Nov 19 17:34:54 2016 +0100 @@ -331,6 +331,7 @@ else local data = {} for key, value in self.data[node]:items() do + data[#data+1] = key; data[key] = value; end return true, data;