Software /
code /
prosody-modules
Diff
mod_smacks/mod_smacks.lua @ 588:8042558336b6
mod_smacks: Log message when client tries to resume unknown session
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 30 Jan 2012 04:20:24 +0000 |
parent | 587:322a14acd974 |
child | 589:57ac609444c4 |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Mon Jan 30 04:15:58 2012 +0000 +++ b/mod_smacks/mod_smacks.lua Mon Jan 30 04:20:24 2012 +0000 @@ -217,6 +217,7 @@ local id = stanza.attr.previd; local original_session = session_registry[id]; if not original_session then + session.log("debug", "Tried to resume non-existent session with id %s", id); session.send(st.stanza("failed", sm_attr) :tag("item-not-found", { xmlns = xmlns_errors }) );