Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.get("/api/*/*/kick", function(req, res) {
- if (req.params[1]!==global.config.adminpassword){
- res.json({error:"Invalid Admin password"})
- return
- }
- global.streams.removeStream(req.params[0])
- res.send('DJ has been kicked')
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement