From b77a586d1416449cf3a998c1f1c3c6a3df37fc5c Mon Sep 17 00:00:00 2001 From: Akkadius Date: Tue, 20 Jan 2015 01:49:38 -0600 Subject: [PATCH] Fix RemoveTempFactions from error message removal --- zone/zonedb.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zone/zonedb.cpp b/zone/zonedb.cpp index ed315da07..7e04f58ba 100644 --- a/zone/zonedb.cpp +++ b/zone/zonedb.cpp @@ -2993,9 +2993,7 @@ void ZoneDatabase::RemoveTempFactions(Client *client) { std::string query = StringFormat("DELETE FROM faction_values " "WHERE temp = 1 AND char_id = %u", client->CharacterID()); - auto results = QueryDatabase(query); - if (!results.Success()) - + QueryDatabase(query); } void ZoneDatabase::LoadPetInfo(Client *client) {