diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-08-03 18:00:05 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-08-03 13:00:05 -0700 |
| commit | b25c4a19420c2fde1f290dd360c68b84e4eaa1ed (patch) | |
| tree | 86c7611bf22f75f0cb13eddd815c9c8e55e47e10 /hotline/account.go | |
| parent | 4c3b4c7fe03bcc7e70fd846b954ffc83bdbcfaa3 (diff) | |
Fix string negation bug
Diffstat (limited to 'hotline/account.go')
| -rw-r--r-- | hotline/account.go | 2 |
1 files changed, 1 insertions, 1 deletions
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}, |