aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-08-05 14:41:13 +0200
committerKim Alvefur <zash@zash.se>2022-08-05 14:41:13 +0200
commit0e7e43f62ff33e3d4cdb4f4d079c5d2c1b07aca9 (patch)
tree31bc157ff3d7cd3f794e4d0e14c38d6eb53839e3 /plugins
parenta2f8218a63e2ebbe04d1a0fc2a235af59c34f515 (diff)
downloadprosody-0e7e43f62ff33e3d4cdb4f4d079c5d2c1b07aca9.tar.gz
prosody-0e7e43f62ff33e3d4cdb4f4d079c5d2c1b07aca9.zip
mod_admin_shell: Remove obsolete module:load() argument from 0.8 time
This 'config' argument was removed without explanation in d8dbf569766c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_shell.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index 7a69e3a4..45bc1d48 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -575,14 +575,14 @@ function def_env.module:info(name, hosts)
return true;
end
-function def_env.module:load(name, hosts, config)
+function def_env.module:load(name, hosts)
hosts = get_hosts_with_module(hosts);
-- Load the module for each host
local ok, err, count, mod = true, nil, 0;
for host in hosts do
if (not modulemanager.is_loaded(host, name)) then
- mod, err = modulemanager.load(host, name, config);
+ mod, err = modulemanager.load(host, name);
if not mod then
ok = false;
if err == "global-module-already-loaded" then