Mercurial > prosody-modules
changeset 3831:435f5b4ebd06
mod_muc_occupant_id: Fix luacheck warning. Remove unused value.
author | Maxime “pep” Buquet <pep@bouah.net> |
---|---|
date | Fri, 03 Jan 2020 16:33:40 +0100 |
parents | 63d8072dc864 |
children | 0d4146cf9fbc |
files | mod_muc_occupant_id/mod_muc_occupant_id.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_occupant_id/mod_muc_occupant_id.lua Fri Jan 03 16:33:04 2020 +0100 +++ b/mod_muc_occupant_id/mod_muc_occupant_id.lua Fri Jan 03 16:33:40 2020 +0100 @@ -44,7 +44,7 @@ local occupant_tag = occupant.sessions[stanza.attr.from] :get_child("occupant-id", xmlns_occupant_id); - local unique_id = nil; + local unique_id; if occupant_tag == nil then unique_id = generate_id(occupant, room); else