Software /
code /
prosody-modules
Diff
mod_muc_limits/mod_muc_limits.lua @ 3402:6a3060d5e85d
mod_muc_limits: Document brokenness with 0.11.x
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 11 Dec 2018 18:27:40 +0100 |
parent | 3188:5c3f3f5a4377 |
child | 3417:1534d0715d35 |
line wrap: on
line diff
--- a/mod_muc_limits/mod_muc_limits.lua Tue Dec 11 18:27:08 2018 +0100 +++ b/mod_muc_limits/mod_muc_limits.lua Tue Dec 11 18:27:40 2018 +0100 @@ -2,7 +2,7 @@ local mod_muc = module:depends"muc"; local rooms = rawget(mod_muc, "rooms"); -- Old MUC API if not rooms then - rooms = module:shared"muc/rooms"; -- New MUC API + error "Not compatible with 0.11 MUC API" end local jid_split, jid_bare = require "util.jid".split, require "util.jid".bare;