diff options
author | Kim Alvefur <zash@zash.se> | 2021-11-12 22:34:04 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-11-12 22:34:04 +0100 |
commit | 256466cd33ec6a8fde21915c8b9795393419c14f (patch) | |
tree | e7162e4faacf3eb27663bae56caff963f2042dc0 /util/prosodyctl | |
parent | 93121127fa4ed579516ab203c3e2696725551d37 (diff) | |
download | prosody-256466cd33ec6a8fde21915c8b9795393419c14f.tar.gz prosody-256466cd33ec6a8fde21915c8b9795393419c14f.zip |
util.prosodyctl.shell: Bring back banner set from config!
I miss my custom ANSI-colored greeting!
Diffstat (limited to 'util/prosodyctl')
-rw-r--r-- | util/prosodyctl/shell.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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([[ ____ \ / _ | _ \ _ __ ___ ___ _-_ __| |_ _ |