mod_cache_c2s_caps/mod_cache_c2s_caps.lua
changeset 3468 13b394b0db82
parent 3460 b85622b577ad
child 3479 820c891a54cc
--- a/mod_cache_c2s_caps/mod_cache_c2s_caps.lua	Wed Feb 13 15:52:58 2019 +0100
+++ b/mod_cache_c2s_caps/mod_cache_c2s_caps.lua	Thu Feb 14 17:06:16 2019 +0000
@@ -8,6 +8,8 @@
 -- Some clients (*ahem* poezio…) don’t include the @node in their result iq.
 local iq_node_map = {}
 
+assert(module.send_iq, "This module is not compatible with this version of Prosody.");
+
 local function iq_result_handler(event)
 	local origin, stanza = event.origin, event.stanza;