aboutsummaryrefslogtreecommitdiffstats
path: root/util/pubsub.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r--util/pubsub.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index ca6dca20..72f7f5a7 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -598,8 +598,8 @@ function service:get_last_item(node, actor)
end
--
- -- Check node exists and has an item published
- if not (self.nodes[node] and self.data[node]) then
+ -- Check node exists
+ if not self.nodes[node] then
return false, "item-not-found";
end