From b2658a6cbcf605cab08a96e924c273c8afc45d77 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sun, 12 Jun 2022 17:34:51 -0500 Subject: [PATCH] [Hotfix] Correct database call to point to the content_db connection --- zone/gm_commands/zone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/gm_commands/zone.cpp b/zone/gm_commands/zone.cpp index bdd9dfc98..b2dea5e80 100644 --- a/zone/gm_commands/zone.cpp +++ b/zone/gm_commands/zone.cpp @@ -41,7 +41,7 @@ void command_zone(Client *c, const Seperator *sep) return; } - auto min_status = database.GetMinStatus(zone_id, 0); + auto min_status = content_db.GetMinStatus(zone_id, 0); if (c->Admin() < min_status) { c->Message(Chat::White, "Your status is not high enough to go to this zone."); return;