From fc876e727aa8295c0a67e5e0843370e99d2a13cc Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Fri, 7 Sep 2018 20:12:52 -0500 Subject: [PATCH] room_member: fix 3 typos --- src/network/room_member.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/network/room_member.cpp b/src/network/room_member.cpp index e8d9094c50..955ff2be18 100644 --- a/src/network/room_member.cpp +++ b/src/network/room_member.cpp @@ -217,7 +217,7 @@ void RoomMember::RoomMemberImpl::HandleRoomInformationPacket(const ENetEvent* ev packet.Append(event->packet->data, event->packet->dataLength); // Ignore the first byte, which is the message id. - packet.IgnoreBytes(sizeof(u8)); // Igonore the message type + packet.IgnoreBytes(sizeof(u8)); // Ignore the message type RoomInformation info{}; packet >> info.name; @@ -248,7 +248,7 @@ void RoomMember::RoomMemberImpl::HandleJoinPacket(const ENetEvent* event) { packet.Append(event->packet->data, event->packet->dataLength); // Ignore the first byte, which is the message id. - packet.IgnoreBytes(sizeof(u8)); // Igonore the message type + packet.IgnoreBytes(sizeof(u8)); // Ignore the message type // Parse the MAC Address from the packet packet >> mac_address; @@ -261,7 +261,7 @@ void RoomMember::RoomMemberImpl::HandleWifiPackets(const ENetEvent* event) { packet.Append(event->packet->data, event->packet->dataLength); // Ignore the first byte, which is the message id. - packet.IgnoreBytes(sizeof(u8)); // Igonore the message type + packet.IgnoreBytes(sizeof(u8)); // Ignore the message type // Parse the WifiPacket from the packet u8 frame_type;