Comparison

core/modulemanager.lua @ 3967:1a9bcbaeb55a

modulemanager: Auto-load mod_offline.
author Waqas Hussain <waqas20@gmail.com>
date Mon, 27 Dec 2010 06:10:34 +0500
parent 3758:41f174b61b6a
child 4002:95ccbd5e280f
comparison
equal deleted inserted replaced
3966:e71c19dac1c7 3967:1a9bcbaeb55a
37 return xpcall(function() return f(unpack(params, 1, n)) end, function(e) return tostring(e).."\n"..debug_traceback(); end); 37 return xpcall(function() return f(unpack(params, 1, n)) end, function(e) return tostring(e).."\n"..debug_traceback(); end);
38 end 38 end
39 39
40 local array, set = require "util.array", require "util.set"; 40 local array, set = require "util.array", require "util.set";
41 41
42 local autoload_modules = {"presence", "message", "iq"}; 42 local autoload_modules = {"presence", "message", "iq", "offline"};
43 local component_inheritable_modules = {"tls", "dialback", "iq"}; 43 local component_inheritable_modules = {"tls", "dialback", "iq"};
44 44
45 -- We need this to let modules access the real global namespace 45 -- We need this to let modules access the real global namespace
46 local _G = _G; 46 local _G = _G;
47 47