# HG changeset patch # User Kim Alvefur # Date 1634039532 -7200 # Node ID 428861d1d1e4ee2d7710020d8ad484f53e570679 # Parent ace4f251a64b15d6e8f601e1e6ee19e69cbc4ce8 mod_groups_internal: Fix accidental global [luacheck] diff -r ace4f251a64b -r 428861d1d1e4 mod_groups_internal/mod_groups_internal.lua --- a/mod_groups_internal/mod_groups_internal.lua Sun Oct 10 20:10:29 2021 +0100 +++ b/mod_groups_internal/mod_groups_internal.lua Tue Oct 12 13:52:12 2021 +0200 @@ -146,7 +146,7 @@ -- TODO: we should probably prohibit changing/removing the MUC JID of -- an existing group. if info.muc_jid then - room = muc_host.get_room_from_jid(info.muc_jid); + local room = muc_host.get_room_from_jid(info.muc_jid); room:set_name(info.name); end