summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/eepg.c b/eepg.c
index 5624478..4bfd5d7 100644
--- a/eepg.c
+++ b/eepg.c
@@ -4497,9 +4497,11 @@ bool cPluginEEPG::Start (void)
for (int i = 0; i < NumberOfAvailableSources; i++)
isyslog ("EEPG: Available sources:%s.", *cSource::ToString (AvailableSources[i]));
- closedir(ConfigDir);
+#if APIVERSNUM > 10725
new cEEpgHandler();
+#endif
+ closedir(ConfigDir);
return true;
}