summaryrefslogtreecommitdiff
path: root/status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'status.cpp')
-rw-r--r--status.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/status.cpp b/status.cpp
index 3b51370..2af95fe 100644
--- a/status.cpp
+++ b/status.cpp
@@ -29,9 +29,9 @@ void cStatusInfosatepg::ChannelSwitch(const cDevice *Device, int ChannelNumber)
bool bAddFilter=false;
// just add filter if we aren't locked
- if (ChannelNumber==global->Channel)
+ if (ChannelNumber==global->Channel())
{
- cChannel *chan=Channels.GetByNumber(global->Channel);
+ cChannel *chan=Channels.GetByNumber(global->Channel());
if (!chan) return;
if (!Device->ProvidesTransponder(chan)) return; // ignore virtual devices
if (Device==myFilterDevice) return; // already attached to this device