mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
Send version and release when doing registrations.
This commit is contained in:
parent
eda35c3ff8
commit
5a2e3331d9
1 changed files with 2 additions and 0 deletions
|
|
@ -130,6 +130,8 @@ func (server *Server) RegisterPublicServer() {
|
||||||
"digest": digest,
|
"digest": digest,
|
||||||
"users": strconv.Itoa(len(server.clients)),
|
"users": strconv.Itoa(len(server.clients)),
|
||||||
"channels": strconv.Itoa(len(server.Channels)),
|
"channels": strconv.Itoa(len(server.Channels)),
|
||||||
|
"version": "1.2.4",
|
||||||
|
"release": "Grumble git",
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
server.Printf("register: unable to execute template: %v", err)
|
server.Printf("register: unable to execute template: %v", err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue