Merge pull request #1128 from EQEmu/editmassrespawn_upd

Fix for command '#editmassrespawn'
This commit is contained in:
Chris Miles 2020-10-10 20:19:14 -05:00 committed by GitHub
commit c1c010bc8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6879,7 +6879,7 @@ void command_editmassrespawn(Client* c, const Seperator* sep)
int results_count = 0;
auto results = database.QueryDatabase(query);
auto results = content_db.QueryDatabase(query);
if (results.Success() && results.RowCount()) {
results_count = results.RowCount();
@ -6906,7 +6906,7 @@ void command_editmassrespawn(Client* c, const Seperator* sep)
if (change_apply) {
results = database.QueryDatabase(
results = content_db.QueryDatabase(
fmt::format(
SQL(
UPDATE spawn2