aboutsummaryrefslogtreecommitdiff
path: root/hotline/account.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-03 18:00:05 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-03 13:00:05 -0700
commitb25c4a19420c2fde1f290dd360c68b84e4eaa1ed (patch)
tree86c7611bf22f75f0cb13eddd815c9c8e55e47e10 /hotline/account.go
parent4c3b4c7fe03bcc7e70fd846b954ffc83bdbcfaa3 (diff)
Fix string negation bug
Diffstat (limited to 'hotline/account.go')
-rw-r--r--hotline/account.go2
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},