Message Filter: Fix filtering on NetID or NetType if message doesn't have one
parent
c398afc4e3
commit
a2cfc50b7c
|
|
@ -34,6 +34,8 @@ public:
|
||||||
return false;
|
return false;
|
||||||
if(!matchNetID(frame.network.getNetID()))
|
if(!matchNetID(frame.network.getNetID()))
|
||||||
return false;
|
return false;
|
||||||
|
} else if (netid != Network::NetID::Any || networkType != Network::Type::Any) {
|
||||||
|
return false; // Filtering on a NetID or Type, but this message doesn't have one
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue