minor changes

This commit is contained in:
Andreas Neue 2019-08-01 11:36:35 +02:00
parent 1239f94fb2
commit f375dc5e4d
2 changed files with 2 additions and 4 deletions

View File

@ -50,6 +50,6 @@ func main() {
} }
func SoftwareInfo() string { func SoftwareInfo() string {
return fmt.Sprintf("flokatimx %s-%s (%s) [%s]", return fmt.Sprintf("flokati/%s %s-%s (%s) [%s]",
Version, Build, Builddate, runtime.Version()) *protocol, Version, Build, Builddate, runtime.Version())
} }

View File

@ -40,7 +40,6 @@ func Matrix() {
} }
}() }()
xlog.Info("%s started", SoftwareInfo())
sayCh <- fmt.Sprintf("%s\n%s", "*", SoftwareInfo()) sayCh <- fmt.Sprintf("%s\n%s", "*", SoftwareInfo())
for { for {
@ -60,5 +59,4 @@ func Matrix() {
time.Sleep(1 * time.Second) time.Sleep(1 * time.Second)
} }
} }
time.Sleep(1 * time.Millisecond)
} }