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