# HG changeset patch # User Kim Alvefur # Date 1636752844 -3600 # Node ID 98fd531594bddd7e3a73f2d64fccb178f44fa018 # Parent 26406ce35e20566509f61a57041ac4ac41ca867b util.prosodyctl.shell: Bring back banner set from config! I miss my custom ANSI-colored greeting! diff -r 26406ce35e20 -r 98fd531594bd util/prosodyctl/shell.lua --- a/util/prosodyctl/shell.lua Fri Nov 12 16:52:55 2021 +0100 +++ b/util/prosodyctl/shell.lua Fri Nov 12 22:34:04 2021 +0100 @@ -45,6 +45,8 @@ end local function printbanner() + local banner = config.get("*", "console_banner"); + if banner then return print(banner); end print([[ ____ \ / _ | _ \ _ __ ___ ___ _-_ __| |_ _