Mercurial > prosody-modules
diff mod_stats39/mod_stats39.lua @ 4595:bac3dae031ee
Add note of incompatibility with trunk since 5f15ab7c6ae5
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 19 Jun 2021 12:55:14 +0200 |
parents | ffc64d285a96 |
children |
line wrap: on
line diff
--- a/mod_stats39/mod_stats39.lua Wed Jun 16 17:32:43 2021 +0200 +++ b/mod_stats39/mod_stats39.lua Sat Jun 19 12:55:14 2021 +0200 @@ -2,6 +2,8 @@ local st = require "util.stanza"; local s_format = string.format; +assert(statsman.get_stats, "not compatible with trunk based on openmetrics"); + module:add_feature("http://jabber.org/protocol/stats"); module:hook("iq/host/http://jabber.org/protocol/stats:query", function (event)