forked from External/grumble
Transmit WelcomeText in ServerSync.
This commit is contained in:
parent
37fe6dd0c2
commit
07cc7f1aa8
1 changed files with 1 additions and 0 deletions
|
|
@ -603,6 +603,7 @@ func (server *Server) finishAuthenticate(client *Client) {
|
|||
sync := &mumbleproto.ServerSync{}
|
||||
sync.Session = proto.Uint32(client.Session)
|
||||
sync.MaxBandwidth = proto.Uint32(server.cfg.Uint32Value("MaxBandwidth"))
|
||||
sync.WelcomeText = proto.String(server.cfg.StringValue("WelcomeText"))
|
||||
if client.IsSuperUser() {
|
||||
sync.Permissions = proto.Uint64(uint64(AllPermissions))
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue