Comparison

prosodyctl @ 5438:5032b3b5b556

prosodyctl: Define prosody.core_post_stanza as an empty function
author Matthew Wild <mwild1@gmail.com>
date Sat, 06 Apr 2013 20:07:08 +0100
parent 5384:24f4aed5824f
child 5442:e66973c81e89
child 5456:87204440b9dd
comparison
equal deleted inserted replaced
5436:a4ba5819bf50 5438:5032b3b5b556
49 events = require "util.events".new(); 49 events = require "util.events".new();
50 platform = "posix"; 50 platform = "posix";
51 lock_globals = function () end; 51 lock_globals = function () end;
52 unlock_globals = function () end; 52 unlock_globals = function () end;
53 installed = CFG_SOURCEDIR ~= nil; 53 installed = CFG_SOURCEDIR ~= nil;
54 core_post_stanza = function () end; -- TODO: mod_router!
54 }; 55 };
55 _G.prosody = prosody; 56 _G.prosody = prosody;
56 57
57 local dependencies = require "util.dependencies"; 58 local dependencies = require "util.dependencies";
58 if not dependencies.check_dependencies() then 59 if not dependencies.check_dependencies() then