Mercurial > 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 |
parents | 5c3f3f5a4377 |
children | 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;