浏览代码

fix: census lua init to 0 to avoid openmetrics errors (#14210)

factor2
Aaron van Meerten 1年前
父节点
当前提交
1d66045ec4
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      resources/prosody-plugins/mod_muc_census.lua

+ 1
- 1
resources/prosody-plugins/mod_muc_census.lua 查看文件

@@ -37,7 +37,7 @@ local tostring = tostring;
37 37
 -- required parameter for custom muc component prefix, defaults to "conference"
38 38
 local muc_domain_prefix = module:get_option_string("muc_mapper_domain_prefix", "conference");
39 39
 
40
-local leaked_rooms;
40
+local leaked_rooms = 0;
41 41
 
42 42
 --- handles request to get number of participants in all rooms
43 43
 -- @return GET response

正在加载...
取消
保存