aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
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
commitd254f7e101f76154ad5fb1a22964b74cba93d675 (patch)
treea1a842b61b7c6798e7a48f06441f08c864be1123 /prosodyctl
parent3434e4560f79c834411e0c1d117a96e8b94ff4db (diff)
downloadprosody-d254f7e101f76154ad5fb1a22964b74cba93d675.tar.gz
prosody-d254f7e101f76154ad5fb1a22964b74cba93d675.zip
prosodyctl: Fix module.command invocation (thanks woffs)
The first argument is already removed once since c7727c13260f
Diffstat (limited to 'prosodyctl')
-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");