Forráskód Böngészése

Make sure to set the discord id on login

Gary Kramlich 3 éve
szülő
commit
167fdede1f
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      bridge/commands.go

+ 3 - 0
bridge/commands.go

@@ -129,5 +129,8 @@ func (l *loginCmd) Run(g *globals) error {
 		return err
 	}
 
+	g.user.ID = user.UserID
+	g.user.Update()
+
 	return nil
 }