Disclose go version in info message.

This commit is contained in:
Andreas Neue 2016-02-28 12:34:38 +01:00
parent 66843c000e
commit 4dcacaec15
1 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import (
"flag" "flag"
"fmt" "fmt"
"log" "log"
"runtime"
"strings" "strings"
"time" "time"
@ -139,5 +140,6 @@ func HandleMessage(m *irc.Message) {
} }
func SoftwareInfo() string { func SoftwareInfo() string {
return fmt.Sprintf("flokatirc %s-%s (built %s)", version.FlokatiVersion, version.FlokatiBuild, version.FlokatiBuilddate) return fmt.Sprintf("flokatirc %s-%s (built %s [%])", version.FlokatiVersion,
version.FlokatiBuild, version.FlokatiBuilddate, runtime.Version())
} }