From 61c272e101b6f0444c7b2a666b0b5e828ba6db03 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Fri, 27 May 2022 10:44:52 -0700 Subject: Simplify user idle check --- hotline/client_conn_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hotline/client_conn_test.go') 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, -- cgit