Skip to content

Commit bf2af77

Browse files
author
KirillMysnik
committed
Added popup entries to search "bad" bans
1 parent a413a6a commit bf2af77

File tree

5 files changed

+236
-46
lines changed

5 files changed

+236
-46
lines changed

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

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
BanIPAddressMenuCommand, BanIPAddressPage,
2020
lift_any_ip_address_ban_popup_feature, lift_ip_address_ban_popup_feature,
2121
LiftIPAddressBanPage, review_ip_address_ban_popup_feature,
22-
ReviewIPAddressBanPage)
22+
ReviewIPAddressBanPage, search_bad_ip_address_bans_popup_feature)
2323
from .bans.steamid import (
2424
ban_steamid_feature, banned_steamid_manager,
2525
BanSteamIDMenuCommand, BanSteamIDPage,
2626
lift_any_steamid_ban_popup_feature, lift_steamid_ban_popup_feature,
2727
LiftSteamIDBanPage, review_steamid_ban_popup_feature,
28-
ReviewSteamIDBanPage)
28+
ReviewSteamIDBanPage, search_bad_steamid_bans_popup_feature)
2929
from .strings import plugin_strings
3030

3131

@@ -135,6 +135,16 @@ class _KickPage(PlayerBasedFeaturePage):
135135
menu_section_ip_address,
136136
plugin_strings['popup_title lift_reviewed_ip_address']))
137137

138+
menu_section_steamid.add_entry(AdminCommand(
139+
search_bad_steamid_bans_popup_feature,
140+
menu_section_steamid,
141+
plugin_strings['popup_title search_bad_bans']))
142+
143+
menu_section_ip_address.add_entry(AdminCommand(
144+
search_bad_ip_address_bans_popup_feature,
145+
menu_section_ip_address,
146+
plugin_strings['popup_title search_bad_bans']))
147+
138148

139149
# =============================================================================
140150
# >> MOTD ENTRIES

0 commit comments

Comments
 (0)