aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/pubsub.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-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