# HG changeset patch # User Kim Alvefur # Date 1530828253 -7200 # Node ID 1cc5ea1df5ba17e226286a929d5fae5f615ab33b # Parent 76780f37028dfe7a9f6495c6f28a3ab91147e7b1 mod_pep: Move comment to a shorter line [luacheck] diff -r 76780f37028d -r 1cc5ea1df5ba plugins/mod_pep.lua --- a/plugins/mod_pep.lua Wed Jul 04 06:57:32 2018 +0100 +++ b/plugins/mod_pep.lua Fri Jul 06 00:04:13 2018 +0200 @@ -172,8 +172,8 @@ local payload = stanza.tags[1]; if stanza.attr.type == 'set' and (not stanza.attr.to or jid_bare(stanza.attr.from) == stanza.attr.to) then - payload = payload.tags[1]; - if payload and (payload.name == 'publish' or payload.name == 'retract') and payload.attr.node then -- + payload = payload.tags[1]; -- + if payload and (payload.name == 'publish' or payload.name == 'retract') and payload.attr.node then local node = payload.attr.node; payload = payload.tags[1]; if payload and payload.name == "item" then --