Throw if there is an attempt to log the bot out (yes this has happened)
This commit is contained in:
parent
3db2c62bb9
commit
798b37104b
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ const osu = require("osu-packet"),
|
|||
consoleHelper = require("../../consoleHelper.js");
|
||||
|
||||
module.exports = function(CurrentUser) {
|
||||
if (CurrentUser.uuid === "bot") throw "Tried to log bot out, WTF???";
|
||||
|
||||
const logoutStartTime = Date.now();
|
||||
|
||||
const streamList = global.StreamsHandler.getStreams();
|
||||
|
|
Loading…
Reference in a new issue