summaryrefslogtreecommitdiff
path: root/markad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'markad.cpp')
-rw-r--r--markad.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/markad.cpp b/markad.cpp
index 4f68b56..4bf9a9c 100644
--- a/markad.cpp
+++ b/markad.cpp
@@ -123,6 +123,8 @@ void cPluginMarkAd::MainThreadHook(void)
cString cPluginMarkAd::Active(void)
{
// Return a message string if shutdown should be postponed
+ if (statusMonitor->MarkAdRunning())
+ return tr("markad still running");
return NULL;
}
@@ -170,4 +172,4 @@ cString cPluginMarkAd::SVDRPCommand(const char *UNUSED(Command), const char *UNU
}
-VDRPLUGINCREATOR(cPluginMarkAd) // Don't touch this! \ No newline at end of file
+VDRPLUGINCREATOR(cPluginMarkAd) // Don't touch this!