diff options
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r-- | plugins/mod_pep.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index 50cf3ff1..0d52a2fd 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -253,8 +253,7 @@ end local function resend_last_item(jid, node, service) local ok, id, item = service:get_last_item(node, jid); - if not ok then return; end - if not id then return; end + if not (ok and id) then return; end service.config.broadcaster("items", node, { [jid] = true }, item); end |