mirror of
https://github.com/PretendoNetwork/friends.git
synced 2024-06-01 11:37:53 -04:00
Convert to modern result code handling
This commit is contained in:
parent
1779a4c727
commit
4108f4baad
|
@ -42,7 +42,8 @@ func RegisterEx(err error, client *nex.Client, callID uint32, stationUrls []*nex
|
|||
|
||||
rmcResponseStream := nex.NewStreamOut(globals.SecureServer)
|
||||
|
||||
rmcResponseStream.WriteUInt32LE(0x10001) // Success
|
||||
retval := nex.NewResultSuccess(nex.Errors.Core.Unknown)
|
||||
rmcResponseStream.WriteResult(retval)
|
||||
rmcResponseStream.WriteUInt32LE(globals.SecureServer.ConnectionIDCounter().Increment())
|
||||
rmcResponseStream.WriteString(localStationURL)
|
||||
|
||||
|
|
Loading…
Reference in a new issue