Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 9191:5192adc5c47f
MUC: Pass missing argument to log message
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 17 Aug 2018 00:31:24 +0200 |
parent | 9093:04a284c5b88b |
child | 9192:1403c64ca140 |
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);