zapit.cpp: fix possible seqfault

Origin commit data
------------------
Commit: e367eea613
Author: GetAway <get-away@t-online.de>
Date: 2021-12-19 (Sun, 19 Dec 2021)
This commit is contained in:
GetAway
2021-12-19 23:12:03 +01:00
committed by vanhofen
parent c7d2deb4ba
commit 3df7c77325

View File

@@ -1267,6 +1267,8 @@ void CZapit::Rezap(void)
{
if (currentMode & RECORD_MODE)
return;
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_ts)
return;
if(config.rezapTimeout > 0)
sleep(config.rezapTimeout);
if(current_channel)