mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
Fixes stickyban list getting corrupted
This commit is contained in:
committed by
GitHub
parent
90df1dcc12
commit
2472e7227d
@@ -28,9 +28,10 @@ var/datum/subsystem/stickyban/SSstickyban
|
||||
ban -= "IP"
|
||||
ban -= "computer_id"
|
||||
|
||||
world.SetConfig("ban", ckey, list2stickyban(ban))
|
||||
|
||||
ban["matches_this_round"] = list()
|
||||
ban["existing_user_matches_this_round"] = list()
|
||||
ban["admin_matches_this_round"] = list()
|
||||
cache[ckey] = ban
|
||||
|
||||
for (var/bannedckey in cache)
|
||||
world.SetConfig("ban", bannedckey, list2stickyban(cache[bannedckey]))
|
||||
|
||||
Reference in New Issue
Block a user