diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-07-17 10:01:19 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-07-17 10:01:19 +0100 |
commit | 260930853663e88d5abfe33858fc69800610da31 (patch) | |
tree | adc0b873ced5b02221fc9224e7d8d84666239b80 /plugins/muc | |
parent | e61dca8f29518bc91080324bd1f5acc26e7187d7 (diff) | |
download | prosody-260930853663e88d5abfe33858fc69800610da31.tar.gz prosody-260930853663e88d5abfe33858fc69800610da31.zip |
MUC: Rename variable for consistency with other code that uses the term 'live'
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/mod_muc.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index c4b69f41..066d1608 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -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 @@ function create_room(room_jid, config) 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 () |