aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-11-12 22:34:04 +0100
committerKim Alvefur <zash@zash.se>2021-11-12 22:34:04 +0100
commit256466cd33ec6a8fde21915c8b9795393419c14f (patch)
treee7162e4faacf3eb27663bae56caff963f2042dc0 /util
parent93121127fa4ed579516ab203c3e2696725551d37 (diff)
downloadprosody-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')
-rw-r--r--util/prosodyctl/shell.lua2
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([[
____ \ / _
| _ \ _ __ ___ ___ _-_ __| |_ _