plugins/muc/mod_muc.lua
changeset 9052 5870a0a6d4b6
parent 9051 c58be87e62d0
child 9053 f5c43e829d93
--- 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 ()