Software /
code /
prosody-modules
Changeset
3445:19924a2c4a48
mod_presence_dedup: Remove unused variables [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 17 Jan 2019 19:06:51 +0100 |
parents | 3444:e0fb97f47212 |
children | 3446:a5a50cd34386 |
files | mod_presence_dedup/mod_presence_dedup.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_presence_dedup/mod_presence_dedup.lua Wed Jan 16 17:30:23 2019 +0100 +++ b/mod_presence_dedup/mod_presence_dedup.lua Thu Jan 17 19:06:51 2019 +0100 @@ -38,7 +38,7 @@ end module:hook("presence/initial", function (event) - local session, stanza = event.origin, event.stanza; + local session = event.origin; session.presence_cache = cache.new(cache_size); add_filter(session, "stanzas/out", dedup_presence, 90); end);