aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/pubsub.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-10-14 10:59:54 +0100
committerMatthew Wild <mwild1@gmail.com>2014-10-14 10:59:54 +0100
commit49c32aaaeb47bdcef6522136cd9b096ce84e97b9 (patch)
tree5ad39be8aac11ff828d4ff5a36227b480a509cb3 /plugins/mod_pubsub/pubsub.lib.lua
parente58a22fd47b0b0b50ae06527df8fa23f02e1c6a6 (diff)
parent4d822c8eaf0556bc2a0e3cfd5dcb71fa8fedc9d2 (diff)
downloadprosody-49c32aaaeb47bdcef6522136cd9b096ce84e97b9.tar.gz
prosody-49c32aaaeb47bdcef6522136cd9b096ce84e97b9.zip
Merge 0.10->trunk
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 5c6054d1..d85c71be 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -18,7 +18,7 @@ local pubsub_errors = {
["nodeid-required"] = { "modify", "bad-request", nil, "nodeid-required" };
["item-not-found"] = { "cancel", "item-not-found" };
["not-subscribed"] = { "modify", "unexpected-request", nil, "not-subscribed" };
- ["forbidden"] = { "cancel", "forbidden" };
+ ["forbidden"] = { "auth", "forbidden" };
["not-allowed"] = { "cancel", "not-allowed" };
};
local function pubsub_error_reply(stanza, error)