aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-19 15:36:31 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-19 15:36:31 +0100
commit76bffb99b8cbfef4173443cc864469ba86452e03 (patch)
tree98bb2c521888e4c1af567103a1936cc33c5dc880
parent9462cf30c6b16db4b6ac9814f8b06ede8611ccae (diff)
parent7adc50d2fdbe6086f43a6f125aafac86cb8d2ed0 (diff)
downloadprosody-76bffb99b8cbfef4173443cc864469ba86452e03.tar.gz
prosody-76bffb99b8cbfef4173443cc864469ba86452e03.zip
Merge 0.9->trunk
-rw-r--r--core/moduleapi.lua4
-rw-r--r--plugins/mod_admin_adhoc.lua1
2 files changed, 1 insertions, 4 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua
index 24d29dfe..572dc179 100644
--- a/core/moduleapi.lua
+++ b/core/moduleapi.lua
@@ -14,8 +14,6 @@ local logger = require "util.logger";
local pluginloader = require "util.pluginloader";
local timer = require "util.timer";
-local multitable_new = require "util.multitable".new;
-
local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat;
local error, setmetatable, setfenv, type = error, setmetatable, setfenv, type;
local ipairs, pairs, select, unpack = ipairs, pairs, select, unpack;
@@ -339,4 +337,4 @@ function api:load_resource(path, mode)
return io.open(path, mode);
end
-return api;
+return api; \ No newline at end of file
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua
index efb7f72b..ee89d84f 100644
--- a/plugins/mod_admin_adhoc.lua
+++ b/plugins/mod_admin_adhoc.lua
@@ -469,7 +469,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