diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-01-22 18:49:49 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-01-22 18:49:49 +0000 |
commit | ef3a0660f4e37357db269ed0b39d31b298b9e9a1 (patch) | |
tree | 088d2d57e249e56a8c0ce20013fb920349b5252c /core/modulemanager.lua | |
parent | f2a5abecac32a7095f1f72e24337e669ba04036c (diff) | |
download | prosody-ef3a0660f4e37357db269ed0b39d31b298b9e9a1.tar.gz prosody-ef3a0660f4e37357db269ed0b39d31b298b9e9a1.zip |
modulemanager: Cleanup some unused variables, imports, whitespace and add a comment.
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index f86298c9..a6d1ad35 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -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 @@ module "modulemanager" local api = _G.require "core.moduleapi"; -- Module API container +-- [host] = { [module] = module_env } local modulemap = { ["*"] = {} }; local NULL = {}; @@ -185,7 +184,6 @@ local function do_reload_module(host, name) end local saved; - if module_has_method(mod, "save") then local ok, ret, err = call_module_method(mod, "save"); if ok then |