From f375dc5e4d5003652c7b70e85970d5107d6bbda2 Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Thu, 1 Aug 2019 11:36:35 +0200 Subject: [PATCH] minor changes --- main.go | 4 ++-- matrix.go | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index ef65066..362ebb7 100644 --- a/main.go +++ b/main.go @@ -50,6 +50,6 @@ func main() { } func SoftwareInfo() string { - return fmt.Sprintf("flokatimx %s-%s (%s) [%s]", - Version, Build, Builddate, runtime.Version()) + return fmt.Sprintf("flokati/%s %s-%s (%s) [%s]", + *protocol, Version, Build, Builddate, runtime.Version()) } diff --git a/matrix.go b/matrix.go index 5357921..64368ee 100644 --- a/matrix.go +++ b/matrix.go @@ -40,7 +40,6 @@ func Matrix() { } }() - xlog.Info("%s started", SoftwareInfo()) sayCh <- fmt.Sprintf("%s\n%s", "*", SoftwareInfo()) for { @@ -60,5 +59,4 @@ func Matrix() { time.Sleep(1 * time.Second) } } - time.Sleep(1 * time.Millisecond) }