diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-12-21 04:17:24 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-12-21 04:17:24 +0000 |
commit | 2d7d846152a0ffe3f4977653ac913f5372cd7bbe (patch) | |
tree | 446a97fc7007c7674b96f23a1dbc409677d6720b /util/pubsub.lua | |
parent | 67686e41f4dc4c99c24ad8eddd49c67f6365c42b (diff) | |
download | prosody-2d7d846152a0ffe3f4977653ac913f5372cd7bbe.tar.gz prosody-2d7d846152a0ffe3f4977653ac913f5372cd7bbe.zip |
util.pubsub: Fix nil global access in get_nodes()
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r-- | util/pubsub.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua index b12e5246..1363bcb5 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -235,7 +235,7 @@ end 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 -- |