Software /
code /
prosody
Changeset
6445:f1ad3923368c
pubsub.lib: Fix actor in configure
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Sep 2014 02:41:13 +0200 |
parents | 6441:bcb1ea9047d3 |
children | 6446:011ca9b88179 |
files | plugins/mod_pubsub/pubsub.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua Sun Sep 28 01:55:32 2014 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Sun Sep 28 02:41:13 2014 +0200 @@ -230,7 +230,7 @@ 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