Skip to content

Commit

Permalink
Merge pull request #172 from theangryangel/fix-ipb
Browse files Browse the repository at this point in the history
docs(insim): IPB incorrect documentation
  • Loading branch information
theangryangel authored Jul 30, 2024
2 parents ab1de07 + 57e63ff commit c833031
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ jobs:
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
feature-group: all-features
release-type: minor
2 changes: 1 addition & 1 deletion insim/src/insim/ipb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn binrw_write_ipb_bans(input: &IndexSet<Ipv4Addr>) -> BinResult<()> {
#[bw(assert(banips.len() <= IPB_MAX_BANS))]
#[derive(Debug, Clone, Default, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize))]
/// Mods Allowed - restrict the mods that can be used
/// Player Bans - Receive or set player bans, by IP address
pub struct Ipb {
/// Non-zero if the packet is a packet request or a reply to a request
pub reqi: RequestId,
Expand Down
2 changes: 1 addition & 1 deletion insim/src/packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ pub enum Packet {
#[brw(magic = 66u8)]
Plh(Plh),

/// Both - Set/receive player handicap
/// Both - Set/receive player bans
#[brw(magic = 67u8)]
Ipb(Ipb),

Expand Down

0 comments on commit c833031

Please sign in to comment.