mod_profile/mod_profile.lua
changeset 3212 e55172ce68d4
parent 3211 149cc5ddc64f
child 3249 1d57f485efef
--- a/mod_profile/mod_profile.lua	Thu Aug 02 03:35:33 2018 +0200
+++ b/mod_profile/mod_profile.lua	Thu Aug 02 03:35:36 2018 +0200
@@ -15,6 +15,7 @@
 local pep_plus;
 if module:get_host_type() == "local" and module:get_option_boolean("vcard_to_pep", true) then
 	pep_plus = module:depends"pep";
+	assert(pep_plus.get_pep_service, "Wrong version of mod_pep loaded, you need to update Prosody");
 end
 
 local storage = module:open_store();