aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-09-28 02:41:13 +0200
committerKim Alvefur <zash@zash.se>2014-09-28 02:41:13 +0200
commit76ac654bce6778c9bf1fb3b321cc1a568b20f595 (patch)
tree0da6634f038d1c5523e97e5baa2b783ca72fb57c /plugins
parentbf317774d921f17f73443b59008970a68f756082 (diff)
downloadprosody-76ac654bce6778c9bf1fb3b321cc1a568b20f595.tar.gz
prosody-76ac654bce6778c9bf1fb3b321cc1a568b20f595.zip
pubsub.lib: Fix actor in configure
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index 8a22fa69..3ed72fec 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -230,7 +230,7 @@ function handlers.get_configure(origin, stanza, config, service)
return origin.send(pubsub_error_reply(stanza, "nodeid-required"));
end
- if not service:may(node, actor, "configure") then
+ if not service:may(node, stanza.attr.from, "configure") then
return origin.send(pubsub_error_reply(stanza, "forbidden"));
end