aboutsummaryrefslogtreecommitdiff
path: root/hotline/client_conn_test.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-05-27 10:44:52 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2022-05-27 10:44:52 -0700
commit61c272e101b6f0444c7b2a666b0b5e828ba6db03 (patch)
treec9bc0c571cbfb63c70b37eb5e39ae797714fc756 /hotline/client_conn_test.go
parent6f0f1ef7c51f8d495a5818c4864650a7e1cfc8ef (diff)
Simplify user idle check
Diffstat (limited to 'hotline/client_conn_test.go')
-rw-r--r--hotline/client_conn_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/hotline/client_conn_test.go b/hotline/client_conn_test.go
index 6e3464f..2176185 100644
--- a/hotline/client_conn_test.go
+++ b/hotline/client_conn_test.go
@@ -13,7 +13,7 @@ func TestClientConn_handleTransaction(t *testing.T) {
Flags *[]byte
UserName []byte
Account *Account
- IdleTime *int
+ IdleTime int
Server *Server
Version *[]byte
Idle bool
@@ -39,7 +39,6 @@ func TestClientConn_handleTransaction(t *testing.T) {
Flags: tt.fields.Flags,
UserName: tt.fields.UserName,
Account: tt.fields.Account,
- IdleTime: tt.fields.IdleTime,
Server: tt.fields.Server,
Version: tt.fields.Version,
Idle: tt.fields.Idle,