mirror of
https://github.com/Yonle/bostr.git
synced 2025-03-18 05:42:03 +01:00
it bypasses. now get it fix asap.
Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
parent
a9188ae160
commit
d798d7e3af
@ -102,7 +102,7 @@ module.exports = (ws, req, onClose) => {
|
||||
} else {
|
||||
filters[fn].kinds = filters[fn].kinds?.filter(kind => {
|
||||
if (ws.rejectKinds && ws.rejectKinds.includes(kind)) return false;
|
||||
if (ws.acceptKinds && !ws.acceptKinds.includes(kind)) return true;
|
||||
if (ws.acceptKinds && !ws.acceptKinds.includes(kind)) return false;
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user