mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 05:11:29 +00:00
[Hotfix] Correct database call to point to the content_db connection
This commit is contained in:
parent
026133f32a
commit
b2658a6cbc
@ -41,7 +41,7 @@ void command_zone(Client *c, const Seperator *sep)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto min_status = database.GetMinStatus(zone_id, 0);
|
auto min_status = content_db.GetMinStatus(zone_id, 0);
|
||||||
if (c->Admin() < min_status) {
|
if (c->Admin() < min_status) {
|
||||||
c->Message(Chat::White, "Your status is not high enough to go to this zone.");
|
c->Message(Chat::White, "Your status is not high enough to go to this zone.");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user