~emersion/soju

2ed4491c17a4b359fa1d3d32119c2cf3593a31cb — Simon Ser 9 days ago a9a066f
Don't strip spaces at start of MOTD

This breaks ASCII art. Instead, just drop the final newline if any.
1 files changed, 1 insertions(+), 1 deletions(-)

M cmd/soju/main.go
M cmd/soju/main.go => cmd/soju/main.go +1 -1
@@ 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
}