aboutsummaryrefslogtreecommitdiff
path: root/hotline/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/client.go')
-rw-r--r--hotline/client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hotline/client.go b/hotline/client.go
index fb3f4e7..b423f9f 100644
--- a/hotline/client.go
+++ b/hotline/client.go
@@ -612,8 +612,8 @@ func (c *Client) LogIn(login string, password string) error {
tranLogin, nil,
NewField(fieldUserName, []byte(c.pref.Username)),
NewField(fieldUserIconID, c.pref.IconBytes()),
- NewField(fieldUserLogin, []byte(NegatedUserString([]byte(login)))),
- NewField(fieldUserPassword, []byte(NegatedUserString([]byte(password)))),
+ NewField(fieldUserLogin, negateString([]byte(login))),
+ NewField(fieldUserPassword, negateString([]byte(password))),
NewField(fieldVersion, []byte{0, 2}),
),
)