Changeset

3908:4d8081c35f01

mod_pubsub: Add 'forbidden' error support
author Matthew Wild <mwild1@gmail.com>
date Tue, 21 Dec 2010 03:18:17 +0000
parents 3907:1e82c9b9db11
children 3909:c2dc7f7eed94
files plugins/mod_pubsub.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua	Tue Dec 21 01:47:49 2010 +0000
+++ b/plugins/mod_pubsub.lua	Tue Dec 21 03:18:17 2010 +0000
@@ -29,6 +29,7 @@
 	["invalid-jid"] = { "modify", "bad-request", nil, "invalid-jid" };
 	["item-not-found"] = { "cancel", "item-not-found" };
 	["not-subscribed"] = { "modify", "unexpected-request", nil, "not-subscribed" };
+	["forbidden"] = { "cancel", "forbidden" };
 };
 function pubsub_error_reply(stanza, error)
 	local e = pubsub_errors[error];