From 9749d7c3af662e0f98a847825615f434571a8427 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 19 Jan 2015 05:25:14 -0600 Subject: [PATCH] Remove Duplicative MySQL Error: Error in GetAccountIDByChar query '%s': %s --- common/database.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/common/database.cpp b/common/database.cpp index 0ce40425c..59f5592d6 100644 --- a/common/database.cpp +++ b/common/database.cpp @@ -804,7 +804,6 @@ uint32 Database::GetAccountIDByChar(uint32 char_id) { std::string query = StringFormat("SELECT `account_id` FROM `character_data` WHERE `id` = %i LIMIT 1", char_id); auto results = QueryDatabase(query); if (!results.Success()) { - Log.Out(Logs::General, Logs::Error, "Error in GetAccountIDByChar query '%s': %s", query.c_str(), results.ErrorMessage().c_str()); return 0; }