aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_adhoc.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-19 15:36:16 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-19 15:36:16 +0100
commit7adc50d2fdbe6086f43a6f125aafac86cb8d2ed0 (patch)
tree71f79bd54c0b16fbaf7eda5ba0c7301ad30b8bc9 /plugins/mod_admin_adhoc.lua
parent22257205982158e7adec0026ac1fe46bbffeeec9 (diff)
downloadprosody-7adc50d2fdbe6086f43a6f125aafac86cb8d2ed0.tar.gz
prosody-7adc50d2fdbe6086f43a6f125aafac86cb8d2ed0.zip
mod_admin_adhoc: Remove unused variable and save a bit of CPU...
Diffstat (limited to 'plugins/mod_admin_adhoc.lua')
-rw-r--r--plugins/mod_admin_adhoc.lua1
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