From 256466cd33ec6a8fde21915c8b9795393419c14f Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 12 Nov 2021 22:34:04 +0100 Subject: util.prosodyctl.shell: Bring back banner set from config! I miss my custom ANSI-colored greeting! --- util/prosodyctl/shell.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/prosodyctl/shell.lua') diff --git a/util/prosodyctl/shell.lua b/util/prosodyctl/shell.lua index 214779ec..bce27b94 100644 --- a/util/prosodyctl/shell.lua +++ b/util/prosodyctl/shell.lua @@ -45,6 +45,8 @@ local function repl(client) end local function printbanner() + local banner = config.get("*", "console_banner"); + if banner then return print(banner); end print([[ ____ \ / _ | _ \ _ __ ___ ___ _-_ __| |_ _ -- cgit v1.2.3