Comparison

core/modulemanager.lua @ 3165:4ffb5469c1f6

Have defaultauth load by default
author Jeff Mitchell <jeff@jefferai.org>
date Thu, 27 May 2010 09:20:08 -0400
parent 2977:686f9a5a7f5e
child 3180:99be525bcfb4
comparison
equal deleted inserted replaced
3164:db9def53fe9c 3165:4ffb5469c1f6
37 return xpcall(function() f(unpack(params, 1, n)) end, function(e) return tostring(e).."\n"..debug_traceback(); end); 37 return xpcall(function() 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", "defaultauth"};
43 43
44 -- We need this to let modules access the real global namespace 44 -- We need this to let modules access the real global namespace
45 local _G = _G; 45 local _G = _G;
46 46
47 module "modulemanager" 47 module "modulemanager"