mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
prosodyctl: reload: Remove redundant require
This commit is contained in:
parent
68fa291829
commit
3e23058a2d
1 changed files with 0 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue