1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-13 17:07:45 +00:00

Fix off-by-one in ServerChatMessage

This commit is contained in:
Joshua Goins 2025-07-12 15:01:12 -04:00
parent f176e4fb8d
commit 779666a10f

View file

@ -215,8 +215,8 @@ pub enum ServerZoneIpcData {
* ref: https://github.com/SapphireServer/Sapphire/blob/bf3368224a00c180cbb7ba413b52395eba58ec0b/src/common/Network/PacketDef/Zone/ServerZoneDef.h#L250
*/
param: u8,
#[brw(pad_size_to = 774)]
#[br(count = 774)]
#[brw(pad_size_to = 775)]
#[br(count = 775)]
#[br(map = read_string)]
#[bw(map = write_string)]
message: String,