diff --git a/vSMR/SMRPlugin.cpp b/vSMR/SMRPlugin.cpp index 79d9af56c..c3b842a43 100644 --- a/vSMR/SMRPlugin.cpp +++ b/vSMR/SMRPlugin.cpp @@ -630,6 +630,11 @@ void CSMRPlugin::OnTimer(int Counter) FailedToConnectMessage = false; } + if (HoppieConnected && GetConnectionType() == CONNECTION_TYPE_NO) { + DisplayUserMessage("CPDLC", "Server", "Automatically logged off!", true, true, false, true, false); + HoppieConnected = false; + } + if (((clock() - timer) / CLOCKS_PER_SEC) > 10 && HoppieConnected) { _beginthread(pollMessages, 0, NULL); timer = clock();