Software /
code /
prosody
Diff
util/prosodyctl/shell.lua @ 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 |
parent | 11890:b9aab1962a2b |
child | 12396:bdb9577a4830 |
child | 12862:3dfb87814d65 |
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([[ ____ \ / _ | _ \ _ __ ___ ___ _-_ __| |_ _