diff options
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-rw-r--r-- | plugins/mod_scansion_record.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua index 6ac3a31c..31df8b19 100644 --- a/plugins/mod_scansion_record.lua +++ b/plugins/mod_scansion_record.lua @@ -24,12 +24,16 @@ local function record_stanza(stanza, session, verb) end local function record_stanza_in(stanza, session) - record_stanza(stanza, session, "sends") + if stanza.attr.xmlns == nil then + record_stanza(stanza, session, "sends") + end return stanza; end local function record_stanza_out(stanza, session) - record_stanza(stanza, session, "receives") + if stanza.attr.xmlns == nil then + record_stanza(stanza, session, "receives"); + end return stanza; end |