diff options
-rw-r--r-- | plugins/mod_bosh.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index b88cd969..e9506a83 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -361,7 +361,9 @@ function stream_callbacks.handlestanza(context, stanza) stanza.attr.xmlns = nil; end stanza = session.filter("stanzas/in", stanza); - core_process_stanza(session, stanza); + if stanza then + core_process_stanza(session, stanza); + end end end |