# HG changeset patch # User Matthew Wild # Date 1738853156 0 # Node ID 0b37ce3e40cdd959f541ba78fc933a0b4729fcbe # Parent 2b3d499365183cb7b421fc63280932353b94ad05 prosodyctl: reload: Remove redundant require diff -r 2b3d49936518 -r 0b37ce3e40cd prosodyctl --- a/prosodyctl Thu Feb 06 14:42:18 2025 +0000 +++ b/prosodyctl Thu Feb 06 14:45:56 2025 +0000 @@ -510,7 +510,6 @@ 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");