diff --git a/server/Packets/SendPrivateMessage.js b/server/Packets/SendPrivateMessage.js index 4d7ddaa..f42b457 100644 --- a/server/Packets/SendPrivateMessage.js +++ b/server/Packets/SendPrivateMessage.js @@ -4,12 +4,10 @@ const osu = require("osu-packet"), module.exports = function(CurrentPacket, CurrentUser) { const osuPacketWriter = new osu.Bancho.Writer; - osuPacketWriter.ChannelJoinSuccess(CurrentUser.username); - osuPacketWriter.SendMessage({ sendingClient: CurrentUser.username, message: CurrentPacket.data.message, - target: CurrentPacket.data.target, + target: CurrentUser.username, senderId: CurrentUser.id });