aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index b4b9ada9..3fbf1b45 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -604,7 +604,7 @@ function service:get_last_item(node, actor)
end
-- Returns success, id, item
- return true, self.data[node]:tail();
+ return true, self.data[node]:head();
end
function service:get_nodes(actor)