Skip to content

Commit dc1bc50

Browse files
author
KirillMysnik
committed
Replaced "Lift REVIEWED SteamID Ban" with "Lift SteamID Ban (from OTHER admin)" (applies to IP bans as well) - that means that server owners now can lift unreviewed bans from other admins, too
1 parent e25f0b3 commit dc1bc50

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎srcds/addons/source-python/plugins/admin/plugins/included/admin_kick_ban/admin_kick_ban.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,8 @@ def __init__(self):
464464
def build_callback(popup, index):
465465
popup.clear()
466466

467-
bans = self.banned_uniqueid_manager.get_bans(reviewed=True)
467+
# Get all bans
468+
bans = self.banned_uniqueid_manager.get_bans()
468469

469470
for uniqueid, banned_player_info in bans:
470471
popup.append(PagedOption(

‎srcds/resource/source-python/translations/admin/included_plugins/admin_kick_ban.ini‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ en="Lift IP Ban"
3939
ru="Снять бан по IP"
4040

4141
[popup_title lift_reviewed_steamid]
42-
en="Lift REVIEWED SteamID Ban"
43-
ru="Снять ПОДТВЕРЖДЁННЫЙ бан по SteamID"
42+
en="Lift SteamID Ban (from OTHER admin)"
43+
ru="Снять бан по SteamID (ДРУГОГО админа)"
4444

4545
[popup_title lift_reviewed_ip_address]
46-
en="Lift REVIEWED IP Ban"
47-
ru="Снять ПОДТВЕРЖДЁННЫЙ бан по IP"
46+
en="Lift IP Ban (from OTHER admin)"
47+
ru="Снять бан по IP (ДРУГОГО админа)"
4848

4949
[popup_title show_ban_records]
5050
en="Show player's ban records"

0 commit comments

Comments
 (0)