aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-05 12:39:49 +0100
committerKim Alvefur <zash@zash.se>2021-03-05 12:39:49 +0100
commit71cb57df5191da7962185fba8c0dd5847dfd699c (patch)
treef31874e294008f7dd31d2fc30f2f5f4d1fed4e70
parent3559d707bf2e32b6a3a7ed17095a0ac5fc26607d (diff)
downloadprosody-71cb57df5191da7962185fba8c0dd5847dfd699c.tar.gz
prosody-71cb57df5191da7962185fba8c0dd5847dfd699c.zip
util.prosodyctl.shell: Fix check for --quiet
Looked in the wrong table Test procedure: $ prosodyctl shell --quiet Expect: Prosody> (No banner)
-rw-r--r--util/prosodyctl/shell.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/prosodyctl/shell.lua b/util/prosodyctl/shell.lua
index 9ac982f7..d6da9dab 100644
--- a/util/prosodyctl/shell.lua
+++ b/util/prosodyctl/shell.lua
@@ -72,7 +72,7 @@ local function start(arg) --luacheck: ignore 212/arg
end
client.events.add_handler("connected", function ()
- if not arg.quiet then
+ if not opts.quiet then
printbanner();
end
repl(client);