aboutsummaryrefslogtreecommitdiff
path: root/pkg/messages/types/svcServerInfo.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/messages/types/svcServerInfo.go')
-rw-r--r--pkg/messages/types/svcServerInfo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/messages/types/svcServerInfo.go b/pkg/messages/types/svcServerInfo.go
index b8bb308..c699eca 100644
--- a/pkg/messages/types/svcServerInfo.go
+++ b/pkg/messages/types/svcServerInfo.go
@@ -21,7 +21,7 @@ type SvcServerInfo struct {
21 HostName string 21 HostName string
22} 22}
23 23
24func ParseSvcServerInfo(reader *bitreader.ReaderType) SvcServerInfo { 24func ParseSvcServerInfo(reader *bitreader.Reader) SvcServerInfo {
25 return SvcServerInfo{ 25 return SvcServerInfo{
26 Protocol: int16(reader.TryReadBits(16)), 26 Protocol: int16(reader.TryReadBits(16)),
27 ServerCount: int32(reader.TryReadBits(32)), 27 ServerCount: int32(reader.TryReadBits(32)),