Skip to content

[3.0] More improvements to SMF\IP#9273

Merged
Sesquipedalian merged 2 commits into
SimpleMachines:release-3.0from
Sesquipedalian:3.0/ip4in6
Jun 19, 2026
Merged

[3.0] More improvements to SMF\IP#9273
Sesquipedalian merged 2 commits into
SimpleMachines:release-3.0from
Sesquipedalian:3.0/ip4in6

Conversation

@Sesquipedalian

@Sesquipedalian Sesquipedalian commented Jun 19, 2026

Copy link
Copy Markdown
Member
  1. Fixes a typo I made in ce59add.
  2. Improves logic to detect current user's IP address
    • There was a spot where && had been incorrectly changed to ||. That logic error has been fixed.
    • More generally, the nasty procedural spaghetti logic in SMF\IP::getUserIP() that was inherited from previous versions of SMF has been replaced with cleaner and simpler code.

Signed-off-by: Jon Stovell <jonstovell@gmail.com>
Signed-off-by: Jon Stovell <jonstovell@gmail.com>
@Sesquipedalian Sesquipedalian merged commit 4c6c18a into SimpleMachines:release-3.0 Jun 19, 2026
4 checks passed
@Sesquipedalian Sesquipedalian deleted the 3.0/ip4in6 branch June 19, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant