aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_dialback.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-19 22:03:39 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-19 22:03:39 +0000
commit762904eba2b816dd481947e12d46937619d2f323 (patch)
treeaec36ddbd6b867ed9ac2800ce0de5d63a816f737 /plugins/mod_dialback.lua
parent761c52771a80c3dd331ce4bc2da8c6490f118932 (diff)
downloadprosody-762904eba2b816dd481947e12d46937619d2f323.tar.gz
prosody-762904eba2b816dd481947e12d46937619d2f323.zip
Show which session got disconnected in log message
Diffstat (limited to 'plugins/mod_dialback.lua')
-rw-r--r--plugins/mod_dialback.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua
index d7697535..21769dd9 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -56,7 +56,7 @@ add_handler({ "s2sout_unauthed", "s2sout" }, "verify", xmlns_dialback,
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));