Browse Source

add compiler version to INFO output

tags/v2.3.0-rc1
Shivaram Lingamneni 3 years ago
parent
commit
682f8f66c5
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      irc/handlers.go

+ 1
- 0
irc/handlers.go View File

@@ -1083,6 +1083,7 @@ func infoHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Resp
1083 1083
 	rb.Add(nil, server.name, RPL_INFO, nick, fmt.Sprintf(client.t("This is Oragono version %s."), SemVer))
1084 1084
 	if Commit != "" {
1085 1085
 		rb.Add(nil, server.name, RPL_INFO, nick, fmt.Sprintf(client.t("It was built from git hash %s."), Commit))
1086
+		rb.Add(nil, server.name, RPL_INFO, nick, fmt.Sprintf(client.t("It was compiled using %s."), runtime.Version()))
1086 1087
 	}
1087 1088
 	rb.Add(nil, server.name, RPL_INFO, nick, "")
1088 1089
 	rb.Add(nil, server.name, RPL_INFO, nick, client.t("Oragono is released under the MIT license."))

Loading…
Cancel
Save