plugins/mod_dialback.lua

changeset 348
aab28eacd84e
parent 347
fba39fda0879
child 352
a73a5afd7da3
--- a/plugins/mod_dialback.lua	Wed Nov 19 21:07:40 2008 +0000
+++ b/plugins/mod_dialback.lua	Wed Nov 19 22:03:39 2008 +0000
@@ -56,7 +56,7 @@
 				valid = "invalid";
 			end
 			if not origin.dialback_verifying.sends2s then
-				log("warn", "Incoming s2s session was closed in the meantime, so we can't notify it of the db result");
+				log("warn", "Incoming s2s session %s was closed in the meantime, so we can't notify it of the db result", tostring(origin.dialback_verifying):match("%w+$"));
 			else
 				origin.dialback_verifying.sends2s(format("<db:result from='%s' to='%s' id='%s' type='%s'>%s</db:result>",
 					attr.from, attr.to, attr.id, valid, origin.dialback_verifying.dialback_key));

mercurial