Changeset

13648:0b37ce3e40cd

prosodyctl: reload: Remove redundant require
author Matthew Wild <mwild1@gmail.com>
date Thu, 06 Feb 2025 14:45:56 +0000
parents 13647:2b3d49936518
children 13649:d2969e163656
files prosodyctl
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");