# HG changeset patch # User Kim Alvefur # Date 1527027749 -7200 # Node ID b2c9b832612ba06f3e8a2836627e89fbe798de27 # Parent 5b8983e100da48a3f7a515193723e0e5bb5abdca mod_vcard_command: Tweak to not rely on legacy module() behavior diff -r 5b8983e100da -r b2c9b832612b mod_vcard_command/mod_vcard_command.lua --- 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;