Software /
code /
prosody
Comparison
core/modulemanager.lua @ 3180:99be525bcfb4
Rename mod_defaultauth -> mod_auth_internal, mod_hashpassauth -> mod_auth_internal_hashed, and the providers to internal and internal_hashed respectively. Also no longer auto-load defaultauth, but instead auto-load the plugin selected for each host at startup based on the provider name.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 04 Jun 2010 14:33:36 +0100 |
parent | 3165:4ffb5469c1f6 |
child | 3433:b567ac8e2040 |
comparison
equal
deleted
inserted
replaced
3179:99c5288a26e4 | 3180:99be525bcfb4 |
---|---|
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", "defaultauth"}; | 42 local autoload_modules = {"presence", "message", "iq"}; |
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" |