diff options
Diffstat (limited to 'plugins')
-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 () |