# HG changeset patch # User Matthew Wild # Date 1292905044 0 # Node ID 263a133bdf5a4744990ec54dd046d2957668d8cc # Parent ffe5a0d36f577a2f265de58ca753050bfa62c0d7 util.pubsub: Fix nil global access in get_nodes() diff -r ffe5a0d36f57 -r 263a133bdf5a util/pubsub.lua --- a/util/pubsub.lua Tue Dec 21 04:15:54 2010 +0000 +++ b/util/pubsub.lua Tue Dec 21 04:17:24 2010 +0000 @@ -235,7 +235,7 @@ function service:get_nodes(actor) -- Access checking - if not self:may(node, actor, "get_nodes") then + if not self:may(nil, actor, "get_nodes") then return false, "forbidden"; end --