Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
11901:26406ce35e20 | 11902:98fd531594bd |
---|---|
43 end | 43 end |
44 send_line(client, line); | 44 send_line(client, line); |
45 end | 45 end |
46 | 46 |
47 local function printbanner() | 47 local function printbanner() |
48 local banner = config.get("*", "console_banner"); | |
49 if banner then return print(banner); end | |
48 print([[ | 50 print([[ |
49 ____ \ / _ | 51 ____ \ / _ |
50 | _ \ _ __ ___ ___ _-_ __| |_ _ | 52 | _ \ _ __ ___ ___ _-_ __| |_ _ |
51 | |_) | '__/ _ \/ __|/ _ \ / _` | | | | | 53 | |_) | '__/ _ \/ __|/ _ \ / _` | | | | |
52 | __/| | | (_) \__ \ |_| | (_| | |_| | | 54 | __/| | | (_) \__ \ |_| | (_| | |_| | |