Changeset

6472:acae6289e0a6

mod_pubsub: Fix error type of 'forbidden' (change from 'cancel' to 'auth')
author Matthew Wild <mwild1@gmail.com>
date Tue, 14 Oct 2014 10:58:11 +0100
parents 6471:95d93c4f9d40
children 6473:7c8f58d2b331 6496:e4b998ffc922
files plugins/mod_pubsub.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua	Fri Oct 10 00:56:53 2014 +0200
+++ b/plugins/mod_pubsub.lua	Tue Oct 14 10:58:11 2014 +0100
@@ -39,7 +39,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" };
 };
 function pubsub_error_reply(stanza, error)
 	local e = pubsub_errors[error];