Skip to content

Commit

Permalink
Fix: CentCom Search Runtime (vlggms#2656)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cupax3 authored Jan 4, 2025
1 parent e978ceb commit 2c7b721
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/admin/topic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2056,10 +2056,10 @@
else if(response.status_code != 200)
dat += "<br>Failed to connect to CentCom. Status code: [response.status_code]"
else
if(response.body == "[]")
if(response.body == "\[]")
dat += "<center><b>0 bans detected for [ckey]</b></center>"
else
bans = json_decode(response["body"])
bans = json_decode(response.body)

//Ignore bans from non-whitelisted sources, if a whitelist exists
var/list/valid_sources
Expand Down

0 comments on commit 2c7b721

Please sign in to comment.