Mercurial > prosody-modules
diff mod_muc_occupant_id/mod_muc_occupant_id.lua @ 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 | f20a5d28910f |
children | 2f189f022b84 |
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