aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_scansion_record.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-rw-r--r--plugins/mod_scansion_record.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua
index 31df8b19..c6c90bc3 100644
--- a/plugins/mod_scansion_record.lua
+++ b/plugins/mod_scansion_record.lua
@@ -32,7 +32,9 @@ end
local function record_stanza_out(stanza, session)
if stanza.attr.xmlns == nil then
- record_stanza(stanza, session, "receives");
+ if not (stanza.name == "iq" and stanza:get_child("bind", "urn:ietf:params:xml:ns:xmpp-bind")) then
+ record_stanza(stanza, session, "receives");
+ end
end
return stanza;
end