calzoneman / sync

Node.JS Server and JavaScript/HTML Client for synchronizing online media
Other
1.45k stars 235 forks source link

adjust sendUserMeta rank comparison #888

Closed deerfarce closed 3 years ago

deerfarce commented 3 years ago

Right now, those who use mute and shadowmute seem to miss out on the setUserMeta frame if their rank is the same as the minimum permission for muting users. This should fix it. Doesn't seem to break anything, but will now include users with a rank of -1 when -1 is passed as minrank for actions such as unmute -- just something to note in case that isn't intended for whatever reason.

deerfarce commented 3 years ago

also, check my trips