aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-17 00:31:24 +0200
committerKim Alvefur <zash@zash.se>2018-08-17 00:31:24 +0200
commit305e161bc038799d5ad9c8ac836ebf1cf67ed0db (patch)
tree728835ee4ffeff4d2ad55863237f0d4065dfd8ab
parenta8ade3cfc2b18a4132d83e1c35a8d9afff3edc35 (diff)
downloadprosody-305e161bc038799d5ad9c8ac836ebf1cf67ed0db.tar.gz
prosody-305e161bc038799d5ad9c8ac836ebf1cf67ed0db.zip
MUC: Pass missing argument to log message
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 008bafde..df10ef76 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -144,7 +144,7 @@ local room_miss = module:measure("room_miss", "rate")
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);