aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-01-18 18:30:41 +0100
committerKim Alvefur <zash@zash.se>2019-01-18 18:30:41 +0100
commit22195430f16dcf56cb4728c00254d89964617255 (patch)
treea1a842b61b7c6798e7a48f06441f08c864be1123
parent13ce41d3f969bc039e3e1fcedcc566da86ba9028 (diff)
downloadprosody-22195430f16dcf56cb4728c00254d89964617255.tar.gz
prosody-22195430f16dcf56cb4728c00254d89964617255.zip
prosodyctl: Fix module.command invocation (thanks woffs)
The first argument is already removed once since c7727c13260f
-rwxr-xr-xprosodyctl2
1 files changed, 0 insertions, 2 deletions
diff --git a/prosodyctl b/prosodyctl
index efb98386..a628ed2b 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -1300,8 +1300,6 @@ local command_runner = async.runner(function ()
end
end
- table.remove(arg, 1);
-
local module = modulemanager.get_module("*", module_name);
if not module then
show_message("Failed to load module '"..module_name.."': Unknown error");