MUC: Pass missing argument to log message
authorKim Alvefur <zash@zash.se>
Fri, 17 Aug 2018 00:31:24 +0200
changeset 9194 5192adc5c47f
parent 9193 b88f537163da
child 9195 1403c64ca140
MUC: Pass missing argument to log message
plugins/muc/mod_muc.lua
--- a/plugins/muc/mod_muc.lua	Thu Aug 16 15:35:46 2018 +0200
+++ b/plugins/muc/mod_muc.lua	Fri Aug 17 00:31:24 2018 +0200
@@ -144,7 +144,7 @@
 local room_eviction = module:measure("room_eviction", "rate");
 local rooms = cache.new(max_rooms or max_live_rooms, function (jid, room)
 	if max_rooms then
-		module:log("info", "Room limit of %d reached, no new rooms allowed");
+		module:log("info", "Room limit of %d reached, no new rooms allowed", max_rooms);
 		return false;
 	end
 	module:log("debug", "Evicting room %s", jid);