]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Implement BlacklistedRange exempt flag (#29258)
authornikthechampiongr <32041239+nikthechampiongr@users.noreply.github.com>
Fri, 21 Jun 2024 12:06:07 +0000 (12:06 +0000)
committerGitHub <noreply@github.com>
Fri, 21 Jun 2024 12:06:07 +0000 (14:06 +0200)
commit76a65c8e4345bb55d8ac48cab4214e2145a604c7
treeb69494a928b9932fab57498c514543505a8d470b
parent6b13f5f0cbeb60c04dc2a4aa6d99fb32814bc11d
Implement BlacklistedRange exempt flag (#29258)

* Implement a new kind of ip range ban that only applies to new players

* Put determining whether a player record exists to its own function

* Make BlacklistedRange bans get bypassed by any ban exemption

* Stop trying to get another DbGuard while already having one

This does break with convention on the functions in that area but
considering the use of this function it's probably fine?
I could alternatively just move the place it's called from.

Also I was suppossed to wait for tests to finish locally just to be
sure, but nah. I am pushing this now
Content.Server.Database/Model.cs
Content.Server/Database/ServerDbBase.cs
Content.Server/Database/ServerDbPostgres.cs
Content.Server/Database/ServerDbSqlite.cs