aboutsummaryrefslogtreecommitdiffstats
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
commitf4719b66bc5ed4391b93fb5931a256c1b21fbf1a (patch)
tree71f79bd54c0b16fbaf7eda5ba0c7301ad30b8bc9
parent9f5ddb8708ac4cca468523877c23cd1ebdb2a3de (diff)
downloadprosody-f4719b66bc5ed4391b93fb5931a256c1b21fbf1a.tar.gz
prosody-f4719b66bc5ed4391b93fb5931a256c1b21fbf1a.zip
mod_admin_adhoc: Remove unused variable and save a bit of CPU...
-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