aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2025-02-06 14:45:56 +0000
committerMatthew Wild <mwild1@gmail.com>2025-02-06 14:45:56 +0000
commit3e23058a2d6453edd47838b6e9c24b4816ecc80c (patch)
tree799b7425c6f9d462876f2d2fd5cfa718c31809e9 /prosodyctl
parent68fa291829af3dc790585d83fbb1dbfa3684cfac (diff)
downloadprosody-3e23058a2d6453edd47838b6e9c24b4816ecc80c.tar.gz
prosody-3e23058a2d6453edd47838b6e9c24b4816ecc80c.zip
prosodyctl: reload: Remove redundant require
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl1
1 files changed, 0 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 305a0e4d..9437dae1 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -510,7 +510,6 @@ function commands.reload(arg)
if shell.available() then
if arg[1] and arg[1]:match"^mod_" then
-- TODO reword the usage text, document
- local shell = require "prosody.util.prosodyctl.shell";
arg[1] = arg[1]:match("^mod_(.*)"); -- strip mod_ prefix
table.insert(arg, 1, "module");
table.insert(arg, 2, "reload");