aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/ClientProxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/ClientProxy.h')
-rw-r--r--nxcomp/ClientProxy.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/nxcomp/ClientProxy.h b/nxcomp/ClientProxy.h
index 2b669ba2d..88d345f00 100644
--- a/nxcomp/ClientProxy.h
+++ b/nxcomp/ClientProxy.h
@@ -84,14 +84,8 @@ class ClientProxy : public Proxy
virtual int checkLocalChannelMap(int channelId)
{
- if (control -> isProtoStep7() == 1)
- {
- return ((channelId & control -> ChannelMask) != 0);
- }
- else
- {
- return 1;
- }
+ // Since ProtoStep7 (#issue 108)
+ return ((channelId & control -> ChannelMask) != 0);
}
//