Diff

plugins/mod_pubsub/pubsub.lib.lua @ 6473:7c8f58d2b331

Merge 0.9->0.10
author Matthew Wild <mwild1@gmail.com>
date Tue, 14 Oct 2014 10:59:27 +0100
parent 6448:f799b45cf735
child 6841:be87ab2d611c
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua	Mon Oct 13 21:02:04 2014 +0200
+++ b/plugins/mod_pubsub/pubsub.lib.lua	Tue Oct 14 10:59:27 2014 +0100
@@ -18,7 +18,7 @@
 	["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)