Merge 0.9->0.10
authorMatthew Wild <mwild1@gmail.com>
Tue, 14 Oct 2014 10:59:27 +0100
changeset 6476 7c8f58d2b331
parent 6473 67501b5576d3 (current diff)
parent 6475 acae6289e0a6 (diff)
child 6477 ee13d7dfa988
child 6489 64146196b142
Merge 0.9->0.10
plugins/mod_pubsub/pubsub.lib.lua
plugins/mod_s2s/mod_s2s.lua
--- 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)
--- a/plugins/mod_s2s/mod_s2s.lua	Mon Oct 13 21:02:04 2014 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Tue Oct 14 10:59:27 2014 +0100
@@ -47,7 +47,7 @@
 local function bounce_sendq(session, reason)
 	local sendq = session.sendq;
 	if not sendq then return; end
-	session.log("info", "sending error replies for "..#sendq.." queued stanzas because of failed outgoing connection to "..tostring(session.to_host));
+	session.log("info", "Sending error replies for "..#sendq.." queued stanzas because of failed outgoing connection to "..tostring(session.to_host));
 	local dummy = {
 		type = "s2sin";
 		send = function(s)