Skip to content

Commit 665d567

Browse files
committed
Fix missing brackets for chat gateway user events
1 parent ba8b0a9 commit 665d567

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Atlasd/Battlenet/Protocols/Game/ChatEvent.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,9 @@ public byte[] ToByteArray(ProtocolType.Types protocolType)
193193
{
194194
w.Write(EventId == EventIds.EID_USERJOIN ? "JOIN " : "USER ");
195195
w.Write(Username);
196-
w.Write($" {Flags:X4} ");
196+
w.Write($" {Flags:X4} [");
197197
w.Write(product);
198+
w.Write(']');
198199
break;
199200
}
200201
case EventIds.EID_USERLEAVE:

0 commit comments

Comments
 (0)