From b25c4a19420c2fde1f290dd360c68b84e4eaa1ed Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Tue, 3 Aug 2021 18:00:05 -0700 Subject: Fix string negation bug --- hotline/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hotline/account.go') diff --git a/hotline/account.go b/hotline/account.go index b0e9ee5..bcacc73 100644 --- a/hotline/account.go +++ b/hotline/account.go @@ -45,7 +45,7 @@ func (a *Account) Payload() (out []byte) { []byte{0x00, 0x69}, // fieldUserLogin loginLen, - []byte(NegatedUserString([]byte(a.Login))), + negateString([]byte(a.Login)), []byte{0x00, 0x6e}, // fieldUserAccess []byte{0x00, 0x08}, -- cgit