summaryrefslogtreecommitdiff
path: root/client/streamdev-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/streamdev-client.c')
-rw-r--r--client/streamdev-client.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/streamdev-client.c b/client/streamdev-client.c
index 62c57bd..088837f 100644
--- a/client/streamdev-client.c
+++ b/client/streamdev-client.c
@@ -52,6 +52,14 @@ bool cPluginStreamdevClient::SetupParse(const char *Name, const char *Value) {
return StreamdevClientSetup.SetupParse(Name, Value);
}
+bool cPluginStreamdevClient::Service(const char *Id, void *Data) {
+ if (!strcmp(Id, LOOP_PREVENTION_SERVICE)) {
+ cStreamdevDevice::DenyChannel((const cChannel*) Data);
+ return true;
+ }
+ return false;
+}
+
void cPluginStreamdevClient::MainThreadHook(void) {
cStreamdevDevice::UpdatePriority();
}