X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/d005ef04cfaa26943e6dd33807d741577ffb232a..e1f6476cdee99a9ec2f7e2cc3c4ad1bba5247e4d:/hotline/account.go?ds=inline diff --git a/hotline/account.go b/hotline/account.go index c51162d..b041f3c 100644 --- a/hotline/account.go +++ b/hotline/account.go @@ -19,7 +19,7 @@ type Account struct { func (a *Account) Read(p []byte) (n int, err error) { fields := []Field{ NewField(FieldUserName, []byte(a.Name)), - NewField(FieldUserLogin, negateString([]byte(a.Login))), + NewField(FieldUserLogin, encodeString([]byte(a.Login))), NewField(FieldUserAccess, a.Access[:]), }