Possible hell population syntax fix (#33884)

Co-authored-by: SECBATON GRIFFON <sage>
This commit is contained in:
SECBATON GRIFFON
2022-12-26 21:31:01 +00:00
committed by GitHub
parent 5ed1d0bbe2
commit a3c1c86ef0

View File

@@ -120,7 +120,7 @@
var/time2make = world.time
var/database/db = ("players2.sqlite")
var/database/query/select_query = new
select_query.Add("SELECT ckey, reason FROM erro_ban WHERE bantype = PERMABAN AND isnull(unbanned)")
select_query.Add("SELECT ckey, reason FROM erro_ban WHERE bantype = 'PERMABAN' AND isnull(unbanned)")
if(!select_query.Execute(db))
qdel(select_query)
message_admins("Banned player search error on populating hell: [select_query.ErrorMsg()]")