Diff

util/pubsub.lua @ 7727:0011889c928f

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 19 Nov 2016 17:37:52 +0100
parent 7704:5022e6181193
parent 7726:29c20eefa306
child 8211:5cbbe825d9d1
line wrap: on
line diff
--- a/util/pubsub.lua	Sat Nov 19 01:11:28 2016 +0100
+++ b/util/pubsub.lua	Sat Nov 19 17:37:52 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;