Ban Mirroring - Hotfix

Bad prepared statement execution fixed.
This commit is contained in:
skull132
2016-05-18 21:57:53 +03:00
parent 20ee545236
commit d136181f8c

View File

@@ -86,7 +86,7 @@
return null
var/DBQuery/search_query = dbcon.NewQuery("SELECT id FROM ss13_ban WHERE id IN :vars AND (bantype = 'PERMABAN' OR (bantype = 'TEMPBAN' AND expiration_time > Now())) AND isnull(unbanned)")
search_query.Execute(":vars" = ban_ids)
search_query.Execute(list(":vars" = ban_ids))
var/list/active_bans = list()