Fix missing dbquery qdel (#22101)

Adds a delete for a dbquery that was missing

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
This commit is contained in:
Arrow768
2026-03-26 11:07:51 +01:00
committed by GitHub
parent e5b8918885
commit 52a8d96dda
2 changed files with 59 additions and 0 deletions
@@ -140,6 +140,7 @@ SUBSYSTEM_DEF(auth)
var/datum/admins/D = new /datum/admins(rank, rights, ckey)
//find the client for a ckey if they are connected and associate them with the new admin datum
D.associate(GLOB.directory[ckey])
qdel(query)
if(!admin_datums)
log_world("ERROR: AdminRanks: The database query in load_admins() resulted in no admins being added to the list. Reverting to legacy system.")