diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2023-01-18 14:56:58 -0800 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2023-01-18 14:56:58 -0800 |
| commit | 5853654f0a618dc89f893992a7f0d211456483f8 (patch) | |
| tree | 5b3b7ef656102e3354c896bf654c30e23267a495 /hotline/transaction_handlers.go | |
| parent | 0ac5e4e7943c4aa795b9e9300b397ce1debebbcb (diff) | |
Improve third party client compatability
Diffstat (limited to 'hotline/transaction_handlers.go')
| -rw-r--r-- | hotline/transaction_handlers.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hotline/transaction_handlers.go b/hotline/transaction_handlers.go index acc8fe4..d3238f4 100644 --- a/hotline/transaction_handlers.go +++ b/hotline/transaction_handlers.go @@ -933,8 +933,6 @@ func HandleGetUserNameList(cc *ClientConn, t *Transaction) (res []Transaction, e } func HandleTranAgreed(cc *ClientConn, t *Transaction) (res []Transaction, err error) { - cc.Agreed = true - if t.GetField(fieldUserName).Data != nil { if cc.Authorize(accessAnyName) { cc.UserName = t.GetField(fieldUserName).Data |