projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7758ba2
)
util.pubsub: Fix nil global access in get_nodes()
author
Matthew Wild
<mwild1@gmail.com>
Tue, 21 Dec 2010 04:17:24 +0000
(
04:17
+0000)
committer
Matthew Wild
<mwild1@gmail.com>
Tue, 21 Dec 2010 04:17:24 +0000
(
04:17
+0000)
util/pubsub.lua
patch
|
blob
|
history
diff --git
a/util/pubsub.lua
b/util/pubsub.lua
index b12e52460e08ef03ab51e282903a4f70ec23e98d..1363bcb5f3bd2257ff03bb51a80414230ffd8e7b 100644
(file)
--- a/
util/pubsub.lua
+++ b/
util/pubsub.lua
@@
-235,7
+235,7
@@
end
function service:get_nodes(actor)
-- Access checking
- if not self:may(n
ode
, actor, "get_nodes") then
+ if not self:may(n
il
, actor, "get_nodes") then
return false, "forbidden";
end
--