diff -r c2e959b60c13 -r e86144a4eaa1 plugins/smacks.lua --- a/plugins/smacks.lua Thu Sep 03 21:46:57 2015 +0200 +++ b/plugins/smacks.lua Thu Sep 03 22:41:27 2015 +0200 @@ -22,7 +22,7 @@ end -- Catch outgoing stanzas - function outgoing_stanza(stanza) + local function outgoing_stanza(stanza) -- NOTE: This will not behave nice if stanzas are serialized before this point if stanza.name and not stanza.attr.xmlns then -- serialize stanzas in order to bypass this on resumption