aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/pubsub.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-10-14 10:59:27 +0100
committerMatthew Wild <mwild1@gmail.com>2014-10-14 10:59:27 +0100
commitcb4ef2e67f00b3ae37603398270fb535a34fe011 (patch)
tree453193905058adfd2efb4ed93a8ba44c6fb3c70f /plugins/mod_pubsub/pubsub.lib.lua
parent887f411c4e018eb2ac034e80c6477d2cd253f729 (diff)
parent4a4ec58c8d72ad6b9670ba697b4a98d35e21e2f6 (diff)
downloadprosody-cb4ef2e67f00b3ae37603398270fb535a34fe011.tar.gz
prosody-cb4ef2e67f00b3ae37603398270fb535a34fe011.zip
Merge 0.9->0.10
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)