Make Private messages more sane
This commit is contained in:
parent
de5b4841de
commit
76050657d1
1 changed files with 1 additions and 3 deletions
|
@ -4,12 +4,10 @@ const osu = require("osu-packet"),
|
||||||
module.exports = function(CurrentPacket, CurrentUser) {
|
module.exports = function(CurrentPacket, CurrentUser) {
|
||||||
const osuPacketWriter = new osu.Bancho.Writer;
|
const osuPacketWriter = new osu.Bancho.Writer;
|
||||||
|
|
||||||
osuPacketWriter.ChannelJoinSuccess(CurrentUser.username);
|
|
||||||
|
|
||||||
osuPacketWriter.SendMessage({
|
osuPacketWriter.SendMessage({
|
||||||
sendingClient: CurrentUser.username,
|
sendingClient: CurrentUser.username,
|
||||||
message: CurrentPacket.data.message,
|
message: CurrentPacket.data.message,
|
||||||
target: CurrentPacket.data.target,
|
target: CurrentUser.username,
|
||||||
senderId: CurrentUser.id
|
senderId: CurrentUser.id
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue