sbpp / sourcebans-pp

Admin, ban, and comms management system for the Source engine
https://sbpp.github.io/
Creative Commons Attribution Share Alike 4.0 International
327 stars 175 forks source link

refactor: HasAccess function for safer bitwise operations (#934) #935

Closed Rushaway closed 7 months ago

Rushaway commented 7 months ago

Description

Small adjust to prevent PHP warnings

Motivation and Context

Fix #934

How Has This Been Tested?

https://github.com/sbpp/sourcebans-pp/issues/934#issuecomment-1831810199

Screenshots (if appropriate):

Types of changes

Checklist: