From 077bfb2e7dffb1ff5e0ecc3e0e89a0f550f1f2ab Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sat, 18 Mar 2023 15:09:30 -0700 Subject: [PATCH] make join/leave notifs always 2 lines --- src/ProxyCommands.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ProxyCommands.cc b/src/ProxyCommands.cc index 3bd593d8..635690ed 100644 --- a/src/ProxyCommands.cc +++ b/src/ProxyCommands.cc @@ -1316,7 +1316,7 @@ static HandlerResult S_65_67_68_EB(shared_ptr, num_replacements++; modified = true; } else if (session.options.enable_player_notifications && command != 0x67) { - send_text_message_printf(session.client_channel, "$C6Join: %zu / %" PRIu32 "\n%s", + send_text_message_printf(session.client_channel, "$C6Join: %zu/%" PRIu32 "\n%s", index, cmd.entries[x].lobby_data.guild_card.load(), name.c_str()); } auto& p = session.lobby_players[index]; @@ -1470,7 +1470,7 @@ static HandlerResult S_66_69_E9(shared_ptr, } else { auto& p = session.lobby_players[index]; if (session.options.enable_player_notifications) { - send_text_message_printf(session.client_channel, "$C4Leave: %zu / %" PRIu32 "\n%s", + send_text_message_printf(session.client_channel, "$C4Leave: %zu/%" PRIu32 "\n%s", index, p.guild_card_number, p.name.c_str()); } p.guild_card_number = 0;