diff options
author | Kim Alvefur <zash@zash.se> | 2014-09-28 02:41:13 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-09-28 02:41:13 +0200 |
commit | d37f18c321d98184d89dcb65e1eb40508c83008c (patch) | |
tree | 0da6634f038d1c5523e97e5baa2b783ca72fb57c /plugins | |
parent | 55bacaf74f778f267bcf1f01c5c11caaa31ac671 (diff) | |
download | prosody-d37f18c321d98184d89dcb65e1eb40508c83008c.tar.gz prosody-d37f18c321d98184d89dcb65e1eb40508c83008c.zip |
pubsub.lib: Fix actor in configure
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 2 |
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 |