diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-23 10:06:39 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-23 10:06:39 +0300 |
| commit | 9991801e4037d8dc530876584f21c1674c9e3bba (patch) | |
| tree | efa20cd6aa6556cfdea81f4c99251e0688847ca6 /pkg/messages/types/netDisconnect.go | |
| parent | organize packets and classes (#9) (diff) | |
| download | sdp.go-verification.tar.gz sdp.go-verification.tar.bz2 sdp.go-verification.zip | |
init: will look at this laterverification
Diffstat (limited to 'pkg/messages/types/netDisconnect.go')
| -rw-r--r-- | pkg/messages/types/netDisconnect.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/messages/types/netDisconnect.go b/pkg/messages/types/netDisconnect.go index c2e22c1..ac5139f 100644 --- a/pkg/messages/types/netDisconnect.go +++ b/pkg/messages/types/netDisconnect.go | |||
| @@ -2,7 +2,6 @@ package messages | |||
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | "github.com/pektezol/bitreader" | 4 | "github.com/pektezol/bitreader" |
| 5 | "github.com/pektezol/demoparser/pkg/writer" | ||
| 6 | ) | 5 | ) |
| 7 | 6 | ||
| 8 | type NetDisconnect struct { | 7 | type NetDisconnect struct { |
| @@ -13,6 +12,5 @@ func ParseNetDisconnect(reader *bitreader.Reader) NetDisconnect { | |||
| 13 | netDisconnect := NetDisconnect{ | 12 | netDisconnect := NetDisconnect{ |
| 14 | Text: reader.TryReadString(), | 13 | Text: reader.TryReadString(), |
| 15 | } | 14 | } |
| 16 | writer.TempAppendLine("\t\tText: %s", netDisconnect.Text) | ||
| 17 | return netDisconnect | 15 | return netDisconnect |
| 18 | } | 16 | } |