Diff

plugins/smacks.lua @ 395:e86144a4eaa1

plugins: Cleanup [luacheck]
author Kim Alvefur <zash@zash.se>
date Thu, 03 Sep 2015 22:41:27 +0200
parent 394:c2e959b60c13
child 408:635cbd979d7b
line wrap: on
line diff
--- 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