mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-20 06:10:00 -08:00
Fix SuperUser handling on new servers.
This commit is contained in:
parent
5a2e3331d9
commit
fec890da2f
2 changed files with 11 additions and 6 deletions
|
|
@ -155,6 +155,8 @@ func NewServer(id int64, addr string, port int) (s *Server, err os.Error) {
|
|||
s.clientAuthenticated = make(chan *Client)
|
||||
|
||||
s.Users[0], err = NewUser(0, "SuperUser")
|
||||
s.UserNameMap["SuperUser"] = s.Users[0]
|
||||
|
||||
s.Channels = make(map[int]*Channel)
|
||||
s.root = s.NewChannel(0, "Root")
|
||||
s.aclcache = NewACLCache()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue