aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-07-17 10:01:19 +0100
committerMatthew Wild <mwild1@gmail.com>2018-07-17 10:01:19 +0100
commit3462ae4c36f21bd683bb4531c5bc3b61e3eb7617 (patch)
treeadc0b873ced5b02221fc9224e7d8d84666239b80 /plugins/muc/mod_muc.lua
parent195e112399876278e86e053f83e1248ceb347cf7 (diff)
downloadprosody-3462ae4c36f21bd683bb4531c5bc3b61e3eb7617.tar.gz
prosody-3462ae4c36f21bd683bb4531c5bc3b61e3eb7617.zip
MUC: Rename variable for consistency with other code that uses the term 'live'
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua6
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 ()