Binato/server/Packets/ChannelPart.js

7 lines
219 B
JavaScript
Raw Permalink Normal View History

2022-08-26 12:52:00 +01:00
const Streams = require("../Streams.js");
2021-01-26 12:26:46 +00:00
module.exports = function(CurrentUser, data) {
if (data == "#multiplayer") return; // Ignore requests for multiplayer
2020-09-02 10:15:41 +01:00
2022-08-26 12:52:00 +01:00
Streams.removeUserFromStream(data, CurrentUser.uuid);
2020-08-27 13:09:35 +01:00
}