mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-23 19:31:57 -08:00
Unbreak user registration after SuperUser changes.
This commit is contained in:
parent
4e95d40645
commit
7c46c9d140
3 changed files with 13 additions and 10 deletions
|
|
@ -332,7 +332,7 @@ func NewServerFromFrozen(filename string) (s *Server, err os.Error) {
|
|||
u.LastActive = fu.LastActive
|
||||
|
||||
s.Users[u.Id] = u
|
||||
if u.Id > s.nextUserId {
|
||||
if u.Id >= s.nextUserId {
|
||||
s.nextUserId = u.Id + 1
|
||||
}
|
||||
s.UserNameMap[u.Name] = u
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue