diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-19 15:36:16 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-19 15:36:16 +0100 |
commit | 7adc50d2fdbe6086f43a6f125aafac86cb8d2ed0 (patch) | |
tree | 71f79bd54c0b16fbaf7eda5ba0c7301ad30b8bc9 /plugins | |
parent | 22257205982158e7adec0026ac1fe46bbffeeec9 (diff) | |
download | prosody-7adc50d2fdbe6086f43a6f125aafac86cb8d2ed0.tar.gz prosody-7adc50d2fdbe6086f43a6f125aafac86cb8d2ed0.zip |
mod_admin_adhoc: Remove unused variable and save a bit of CPU...
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_adhoc.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua index b8cb0637..80fca4b7 100644 --- a/plugins/mod_admin_adhoc.lua +++ b/plugins/mod_admin_adhoc.lua @@ -453,7 +453,6 @@ function load_module_handler(self, data, state) '". Error was: "'..tostring(err or "<unspecified>")..'"' } }; end else - local modules = array.collect(keys(hosts[data.to].modules)):sort(); return { status = "executing", form = layout }, "executing"; end end |