1.7.7-alpha
- Fixed steamid only bans - Added missing multiservermode - Better caching
This commit is contained in:
parent
3ab63c05db
commit
b97426313b
6 changed files with 173 additions and 96 deletions
|
|
@ -137,7 +137,10 @@ public partial class CS2_SimpleAdmin
|
|||
#if DEBUG
|
||||
Logger.LogCritical("[OnClientConnect]");
|
||||
#endif
|
||||
if (Config.OtherSettings.BanType == 1 && Instance.CacheManager != null && !Instance.CacheManager.IsPlayerBanned(null, ipaddress.Split(":")[0]))
|
||||
if (Config.OtherSettings.BanType == 0)
|
||||
return;
|
||||
|
||||
if (Instance.CacheManager != null && !Instance.CacheManager.IsPlayerBanned(null, ipaddress.Split(":")[0]))
|
||||
return;
|
||||
|
||||
Server.NextFrame((() =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue