Remove Duplicative MySQL Error:

This commit is contained in:
Akkadius 2015-01-20 02:14:36 -06:00
parent 5ec3d58e32
commit 3fbac46ee6

View File

@ -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); std::string query = StringFormat("UPDATE account SET charname='%s' WHERE id=%i;",charname, lsaccount_id);
auto results = QueryDatabase(query); auto results = QueryDatabase(query);
if (!results.Success()) if (!results.Success()){
{
return false; return false;
} }