mod_vcard_command/mod_vcard_command.lua
changeset 3030 b2c9b832612b
parent 3029 5b8983e100da
--- a/mod_vcard_command/mod_vcard_command.lua	Tue Oct 08 16:38:40 2013 +0000
+++ b/mod_vcard_command/mod_vcard_command.lua	Wed May 23 00:22:29 2018 +0200
@@ -8,7 +8,7 @@
 -- COPYING file in the source package for more information.
 -----------------------------------------------------------
 
-if not rawget(_G, "prosodyctl") then
+function module.load()
         module:log("error", "Do not load this module in Prosody");
         module.host = "*";
         return;