From: Elias Fleckenstein Date: Wed, 8 Jun 2022 23:15:06 +0000 (+0200) Subject: Use serializeVer variable in auth component X-Git-Tag: v0.2.0 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=03d0a15a9b805625bd8837dbb4eae78af574ce35;p=hydra-dragonfire.git Use serializeVer variable in auth component --- diff --git a/comp_auth.go b/comp_auth.go index eeccc66..b1e88dd 100644 --- a/comp_auth.go +++ b/comp_auth.go @@ -105,7 +105,7 @@ func (comp *CompAuth) process(pkt *mt.Pkt) { return } - if cmd.SerializeVer != 28 { + if cmd.SerializeVer != serializeVer { comp.fail("unsupported serialize version") return }