Allow bot's username & location to be sent

This commit is contained in:
tgpethan 2020-09-02 10:15:25 +01:00
parent 63098d2858
commit 1386fc2207

View file

@ -2,8 +2,6 @@ const osu = require("osu-packet"),
getUserById = require("../util/getUserById.js"); getUserById = require("../util/getUserById.js");
module.exports = function(currentUser, id) { module.exports = function(currentUser, id) {
if (id == 3) return; // Bot
const osuPacketWriter = new osu.Bancho.Writer; const osuPacketWriter = new osu.Bancho.Writer;
const User = getUserById(id); const User = getUserById(id);