From 874836ba74251b14da3b08ad8c622f368d7eff69 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 10 Nov 2019 20:20:44 -0500 Subject: [PATCH] newline isn't helpful in these messages --- upgradedb.go | 2 +- util.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/upgradedb.go b/upgradedb.go index 8a29f5c..828349a 100644 --- a/upgradedb.go +++ b/upgradedb.go @@ -285,7 +285,7 @@ func upgradedb() { s = "" getconfig("aboutmsg", &s) if s == "" { - setconfig("aboutmsg", "

What is honk?

\n

Honk is amazing!") + setconfig("aboutmsg", "

What is honk?

Honk is amazing!") } s = "" getconfig("loginmsg", &s) diff --git a/util.go b/util.go index af46c08..26eed8f 100644 --- a/util.go +++ b/util.go @@ -150,7 +150,7 @@ func initdb() { setconfig("dbversion", myVersion) setconfig("servermsg", "

Things happen.

") - setconfig("aboutmsg", "

What is honk?

\n

Honk is amazing!") + setconfig("aboutmsg", "

What is honk?

Honk is amazing!") setconfig("loginmsg", "

login

") setconfig("debug", 0)