--- 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];