mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 16:34:51 +01:00
fix mezfes
This commit is contained in:
@@ -110,8 +110,8 @@ func (s *Session) makeSignResponse(uid int) []byte {
|
|||||||
ps.Uint16(bf, "", false) // filters
|
ps.Uint16(bf, "", false) // filters
|
||||||
if s.client == VITA {
|
if s.client == VITA {
|
||||||
var psnUser string
|
var psnUser string
|
||||||
s.server.db.QueryRow("SELECT username FROM users WHERE id = $1", uid).Scan(&psnUser)
|
s.server.db.QueryRow("SELECT psn_id FROM users WHERE id = $1", uid).Scan(&psnUser)
|
||||||
stringsupport.PaddedString(psnUser, 20, true)
|
bf.WriteBytes(stringsupport.PaddedString(psnUser, 20, true))
|
||||||
}
|
}
|
||||||
bf.WriteUint16(0xCA10)
|
bf.WriteUint16(0xCA10)
|
||||||
bf.WriteUint16(0x4E20)
|
bf.WriteUint16(0x4E20)
|
||||||
|
|||||||
Reference in New Issue
Block a user