# HG changeset patch # User Matthew Wild # Date 1531818079 -3600 # Node ID 5870a0a6d4b665487d861c7bfec101e9eb1389e0 # Parent c58be87e62d0eeb0df8485d4e976867f5bdf08cb MUC: Rename variable for consistency with other code that uses the term 'live' diff -r c58be87e62d0 -r 5870a0a6d4b6 plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Mon Jul 16 12:19:19 2018 +0200 +++ b/plugins/muc/mod_muc.lua Tue Jul 17 10:01:19 2018 +0100 @@ -13,7 +13,7 @@ -- delete_room(room) -- forget_room(room) -- get_room_from_jid(jid) -> room --- each_room(local_only) -> () -> room +-- each_room(live_only) -> () -> room -- shutdown_component() if module:get_host_type() ~= "component" then @@ -249,8 +249,8 @@ return track_room(room); end -function each_room(local_only) - if local_only then +function each_room(live_only) + if live_only then return rooms:values(); end return coroutine.wrap(function ()