diff --git a/SelectableCore.cpp b/SelectableCore.cpp index 0628eb5..2f95a3c 100644 --- a/SelectableCore.cpp +++ b/SelectableCore.cpp @@ -993,7 +993,7 @@ int CSelectableCore::OpenRemoteClientSocket( THandle * Handle ) // Add to Select Lists if (Selector) { - Selector->Add( (*RemoteClient)->FD, true, true, Handle, this ); + Selector->Add( (*RemoteClient)->FD, true, true, *RemoteClient, this ); } return (*RemoteClient)->FD;