# HG changeset patch # User Kim Alvefur # Date 1554284233 -7200 # Node ID ef5d52ca31bbea759b5b22c81f2a2903a96bfc41 # Parent c1d7e6752d18dc52a5fe36f332c26c4adbaf9505 mod_muc_lang: Abort on Prosody 0.11 which supports this natively (thanks Ge0rG) diff -r c1d7e6752d18 -r ef5d52ca31bb mod_muc_lang/mod_muc_lang.lua --- a/mod_muc_lang/mod_muc_lang.lua Wed Apr 03 00:03:15 2019 +0200 +++ b/mod_muc_lang/mod_muc_lang.lua Wed Apr 03 11:37:13 2019 +0200 @@ -1,3 +1,4 @@ +assert(module:depends"muc".rooms, "This module is not required with Prosody >= 0.11"); module:hook("muc-config-form", function(event) local room, form = event.room, event.form;