Tue, 21 Dec 2010 04:17:24 +0000
util.pubsub: Fix nil global access in get_nodes()
util/pubsub.lua | file | annotate | diff | comparison | revisions |
--- 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 --