Changeset

9191:5192adc5c47f

MUC: Pass missing argument to log message
author Kim Alvefur <zash@zash.se>
date Fri, 17 Aug 2018 00:31:24 +0200
parents 9190:b88f537163da
children 9192:1403c64ca140
files plugins/muc/mod_muc.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);