Software /
code /
prosody
Changeset
4535:d46e9ad4fe8a
modulemanager: Cleanup some unused variables, imports, whitespace and add a comment.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 22 Jan 2012 18:49:49 +0000 |
parents | 4534:7a0a31c4f6c5 |
children | 4536:285450536ec0 |
files | core/modulemanager.lua |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/core/modulemanager.lua Sun Jan 22 18:49:11 2012 +0000 +++ b/core/modulemanager.lua Sun Jan 22 18:49:49 2012 +0000 @@ -9,8 +9,6 @@ local logger = require "util.logger"; local log = logger.init("modulemanager"); local config = require "core.configmanager"; -local multitable_new = require "util.multitable".new; -local st = require "util.stanza"; local pluginloader = require "util.pluginloader"; local hosts = hosts; @@ -46,6 +44,7 @@ local api = _G.require "core.moduleapi"; -- Module API container +-- [host] = { [module] = module_env } local modulemap = { ["*"] = {} }; local NULL = {}; @@ -185,7 +184,6 @@ end local saved; - if module_has_method(mod, "save") then local ok, ret, err = call_module_method(mod, "save"); if ok then