mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-03-21 17:44:58 -05:00
Fix incorrect hash length check
This commit is contained in:
parent
54b8d7ab82
commit
5d7ec0edbc
|
|
@ -224,7 +224,7 @@ func (g *GameSpySession) login(command common.GameSpyCommand) {
|
|||
return
|
||||
}
|
||||
|
||||
if len(packHashStr) != 20 {
|
||||
if len(packHashStr) != 40 {
|
||||
logging.Error(g.ModuleName, "Invalid pack_hash: Mismatched len,", aurora.Cyan(len(packHashStr)))
|
||||
g.replyError(ErrLoginBadHash)
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user