Software /
code /
prosody
Changeset
11902:98fd531594bd
util.prosodyctl.shell: Bring back banner set from config!
I miss my custom ANSI-colored greeting!
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 12 Nov 2021 22:34:04 +0100 |
parents | 11901:26406ce35e20 |
children | 11903:baf69f254753 |
files | util/prosodyctl/shell.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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([[ ____ \ / _ | _ \ _ __ ___ ___ _-_ __| |_ _