Updated stop.ts
now using bitwise operators and dividing the `rights` value so you can have other rights whilst having the `OPERATOR` right

for example: `3` is `1` and `2` combined

NOTE: a potential issue has been uncovered while testing; if you have more than 1 thread the server will only stop 1 thread and the rest of the server will continue to run
1 parent a571823 commit f1b0d552b6a7110f3d4604b8b39383d75bbead98
@unknownPerson115 unknownPerson115 authored on 29 Dec 2021
Erkin Alp Güney committed on 29 Dec 2021
Showing 1 changed file
View
api/src/routes/stop.ts