]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/account.go
Fix string negation bug
[rbdr/mobius] / hotline / account.go
index b0e9ee5fed98ecf90c3b58e31fbeda4e3a2b6d7c..bcacc73c574a5d2bc0167c057df4adb8bd6360d9 100644 (file)
@@ -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},