diff --git a/cmd/soju/main.go b/cmd/soju/main.go index 950974d..f092a36 100644 --- a/cmd/soju/main.go +++ b/cmd/soju/main.go @@ -46,7 +46,7 @@ func loadMOTD(srv *soju.Server, filename string) error { if err != nil { return err } - srv.SetMOTD(strings.TrimSpace(string(b))) + srv.SetMOTD(strings.TrimSuffix(string(b), "\n")) return nil }