diff mod_muc_lang/mod_muc_lang.lua @ 3546:ef5d52ca31bb

mod_muc_lang: Abort on Prosody 0.11 which supports this natively (thanks Ge0rG)
author Kim Alvefur <zash@zash.se>
date Wed, 03 Apr 2019 11:37:13 +0200
parents 091b042cada0
children
line wrap: on
line diff
--- 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;