From 3fbac46ee65aeb4b4593463a03cc96b4471654b4 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Tue, 20 Jan 2015 02:14:36 -0600 Subject: [PATCH] Remove Duplicative MySQL Error: --- common/database.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/database.cpp b/common/database.cpp index 0432e4e2b..dd1d3850c 100644 --- a/common/database.cpp +++ b/common/database.cpp @@ -3074,8 +3074,7 @@ bool Database::UpdateLiveChar(char* charname,uint32 lsaccount_id) { std::string query = StringFormat("UPDATE account SET charname='%s' WHERE id=%i;",charname, lsaccount_id); auto results = QueryDatabase(query); - if (!results.Success()) - { + if (!results.Success()){ return false; }