diff options
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 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[:]), } |